SDL_INPUT_LINUXEV vs SDL_JOYSTICK_LINUXEV

(I’m resending this because the first mail seems to have been lost in the
moderation queue…)------------------

Hello 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.
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL.diff
Type: text/x-diff
Size: 605 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070924/e87083ae/attachment.diff

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.

Trivial patch included.

Fixed in svn revision #3450 for the 1.2 branch, and #3451 for the 1.3
branch.

Thanks!

–ryan.