[SDL] Using SDL joysticks within JNI
Thaddeus Selden
tselden at raytheon.com
Thu May 3 05:26:44 PDT 2007
I am trying to use SDL for joystick input from within a legacy JNI
library. Everything seems good, but when I call SDL_JoystickGetAxis
the values returned are always zero. SDL_JoystickName,
SDL_JoystickGetNumButtons, etc. all work as expected.
I'm concerned that the problem is that SDL_Main isn't being used, but
since this is deep within JNI I can't overwrite main. Is this what my
problem is? Is there some way to do the main initialization near
where I call SDL_Init?
Thanks in advance,
~Thadd Selden
________________
Thaddeus Selden
Senior Sofware Engineer with Honors
Raytheon Intelligence and Information Systems
tselden at raytheon.com
703-560-5000 x2676
~~~~~~~~~~~~~~~_/)~~~~
"Gentlemen, bring me that horizon."
More information about the SDL
mailing list