comparison include/SDL_config.h.in @ 4095:f733c048a94f SDL-1.2

Date: Mon, 24 Sep 2007 17:54:58 +0200 From: Christopher GAUTIER <krys via.ecp.fr> To: sdl@lists.libsdl.org Subject: [SDL] SDL_INPUT_LINUXEV vs SDL_JOYSTICK_LINUXEVHello all, There seems to be a slight inconsistency between the SDL_INPUT_LINUXEV define (used in src/joystick/linux/), and SDL_JOYSTICK_LINUXEV defined in include/SDL_config.h. SDL_JOYSTICK_LINUXEV is never used, and SDL_INPUT_LINUXEV is not mentioned in SDL_config.h.in (though set by the ./configure script). This has the unfortunate effect of breaking the joystick detection on linux boxes where /dev/input/event* is defined, but not /dev/(input/)?js*. Trivial patch included. Cheers.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 25 Sep 2007 09:59:26 +0000
parents ef815c44c662
children cd2ab40f1219
comparison
equal deleted inserted replaced
4094:ca992789c798 4095:f733c048a94f
199 #undef SDL_CDROM_OSF 199 #undef SDL_CDROM_OSF
200 #undef SDL_CDROM_QNX 200 #undef SDL_CDROM_QNX
201 #undef SDL_CDROM_WIN32 201 #undef SDL_CDROM_WIN32
202 202
203 /* Enable various input drivers */ 203 /* Enable various input drivers */
204 #undef SDL_INPUT_LINUXEV
204 #undef SDL_INPUT_TSLIB 205 #undef SDL_INPUT_TSLIB
205 #undef SDL_JOYSTICK_BEOS 206 #undef SDL_JOYSTICK_BEOS
206 #undef SDL_JOYSTICK_DC 207 #undef SDL_JOYSTICK_DC
207 #undef SDL_JOYSTICK_DUMMY 208 #undef SDL_JOYSTICK_DUMMY
208 #undef SDL_JOYSTICK_IOKIT 209 #undef SDL_JOYSTICK_IOKIT
209 #undef SDL_JOYSTICK_LINUX 210 #undef SDL_JOYSTICK_LINUX
210 #undef SDL_JOYSTICK_LINUXEV
211 #undef SDL_JOYSTICK_MACOS 211 #undef SDL_JOYSTICK_MACOS
212 #undef SDL_JOYSTICK_MINT 212 #undef SDL_JOYSTICK_MINT
213 #undef SDL_JOYSTICK_OS2 213 #undef SDL_JOYSTICK_OS2
214 #undef SDL_JOYSTICK_RISCOS 214 #undef SDL_JOYSTICK_RISCOS
215 #undef SDL_JOYSTICK_WINMM 215 #undef SDL_JOYSTICK_WINMM