projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replaced obsolete joystick calibration with game controller configuration
[rocksndiamonds.git]
/
src
/
libgame
/
sdl.c
diff --git
a/src/libgame/sdl.c
b/src/libgame/sdl.c
index f94193127f5eafb7cf5127d9bd00809c6ce6bc26..c473b2652b4724b0176a2bef87b2605b97fe2e34 100644
(file)
--- a/
src/libgame/sdl.c
+++ b/
src/libgame/sdl.c
@@
-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;