Asfand Yar Qazi
Zebranky food
Offline
Gender:
Posts: 3
I love YaBB 1G - SP1!
|
How do I stop Ur-Quan masters using my joystick? Apart from hacking the sources with the following patch?
*** src/sc2code/libs/input/sdl/input.c.old Sun Jun 5 01:29:38 2005 --- src/sc2code/libs/input/sdl/input.c Sun Jun 5 01:33:08 2005 *************** *** 165,186 **** SDL_EnableUNICODE(1); ! if ((SDL_InitSubSystem(SDL_INIT_JOYSTICK)) == -1) ! { !
fprintf (stderr, "Couldn't initialize joystick subsystem: %s\n", SDL_GetError()); !
exit(-1); ! } ! ! fprintf (stderr, "%i joysticks were found.\n", SDL_NumJoysticks ()); ! ! nJoysticks = SDL_NumJoysticks (); ! if (nJoysticks > 0) ! { !
fprintf (stderr, "The names of the joysticks are:\n"); !
for(i = 0; i < nJoysticks; i++) !
{ !
fprintf (stderr, " %s\n", SDL_JoystickName (i)); !
} !
SDL_JoystickEventState (SDL_ENABLE); ! } _in_character_mode = FALSE; --- 165,169 ---- SDL_EnableUNICODE(1); ! nJoysticks = 0; _in_character_mode = FALSE;
You see, I like to play on zSnes while I'm flying from star system to another.
|