replaced obsolete joystick calibration with game controller configuration
[rocksndiamonds.git] / src / libgame / sdl.c
index f94193127f5eafb7cf5127d9bd00809c6ce6bc26..c473b2652b4724b0176a2bef87b2605b97fe2e34 100644 (file)
@@ -2616,7 +2616,7 @@ void SDLClearJoystickState()
   }
 }
 
   }
 }
 
-static boolean SDLOpenJoystick(int nr)
+boolean SDLOpenJoystick(int nr)
 {
   if (nr < 0 || nr >= MAX_PLAYERS)
     return FALSE;
 {
   if (nr < 0 || nr >= MAX_PLAYERS)
     return FALSE;
@@ -2644,7 +2644,7 @@ static boolean SDLOpenJoystick(int nr)
   return (sdl_joystick[nr] != NULL);
 }
 
   return (sdl_joystick[nr] != NULL);
 }
 
-static void SDLCloseJoystick(int nr)
+void SDLCloseJoystick(int nr)
 {
   if (nr < 0 || nr >= MAX_PLAYERS)
     return;
 {
   if (nr < 0 || nr >= MAX_PLAYERS)
     return;