"SDL_SYS_JoystickInit()" in Linux has a problem

(I can’t speak English fluently !! I need your understand…)

in LINUX

the function “SDL_SYS_JoystickInit()” doesn’t understand
"/dev/input/jsX"

it understands only “/dev/jsX”

Check please!!

it understands only “/dev/jsX”

Are you using the latest SDL? 1.2.4?

I thought this was fixed.

–ryan.

No, it seems your SDL wasnt compiled with --enable-input-events for a ./configure flag. Run ./configure --enable-input-events and rebuild the library.On 12-Aug-2002, Yang Hyun wrote:

(I can’t speak English fluently !! I need your understand…)

in LINUX

the function “SDL_SYS_JoystickInit()” doesn’t understand
"/dev/input/jsX"

it understands only “/dev/jsX”

Check please!!


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Patrick “Diablo-D3” McFarland || unknown at panax.com
"Computer games don’t affect kids; I mean if Pac-Man affected us as kids, we’d
all be running around in darkened rooms, munching magic pills and listening to
repetitive electronic music." --Kristian Wilson, Nintendo, Inc, 1989

No, it seems your SDL wasnt compiled with --enable-input-events for a
./configure flag. Run ./configure --enable-input-events and rebuild
the library.

…and you might need to build SDL on a 2.4 Linux kernel, so it finds the
Input interface headers. I might be wrong about that, though.

–ryan.

Silly me, I forgot that everyone doesnt use 2.4On 14-Aug-2002, Ryan C. Gordon wrote:

No, it seems your SDL wasnt compiled with --enable-input-events for a
./configure flag. Run ./configure --enable-input-events and rebuild
the library.

…and you might need to build SDL on a 2.4 Linux kernel, so it finds the
Input interface headers. I might be wrong about that, though.

–ryan.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Patrick “Diablo-D3” McFarland || unknown at panax.com
"Computer games don’t affect kids; I mean if Pac-Man affected us as kids, we’d
all be running around in darkened rooms, munching magic pills and listening to
repetitive electronic music." --Kristian Wilson, Nintendo, Inc, 1989

Hmm… sounds like something Sam usually looks into. FYI, Sam is on
vacation for a week.

-LorenOn Sun, 2002-08-11 at 22:43, Yang Hyun wrote:

(I can’t speak English fluently !! I need your understand…)

in LINUX

the function “SDL_SYS_JoystickInit()” doesn’t understand
"/dev/input/jsX"

it understands only “/dev/jsX”

Check please!!

You could try a sort of lazy workaround:

ln -s /dev/jsX /dev/input/jsX

or ( ln -fs /dev/jsX /dev/input/jsX ) if you’re brave–
Juan D. Espinoza

the function “SDL_SYS_JoystickInit()” doesn’t understand
"/dev/input/jsX"

it understands only “/dev/jsX”

SDL needs to built on a 2.4 kernel that is configured for /dev/input/js*,
or it won’t use it. (This used to be true, probably still is).

–ryan.