X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsdl.c;h=64b2e5093f8e0640e51ca1c6171a5940f85e3428;hp=f94193127f5eafb7cf5127d9bd00809c6ce6bc26;hb=106ec9af855d0d6e9caf9f6119407a1e49c71d0a;hpb=b6dd2f35e987ab55a904deff37194ee8507c7d7a diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index f9419312..64b2e509 100644 --- 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; @@ -2644,7 +2644,7 @@ static boolean SDLOpenJoystick(int nr) return (sdl_joystick[nr] != NULL); } -static void SDLCloseJoystick(int nr) +void SDLCloseJoystick(int nr) { if (nr < 0 || nr >= MAX_PLAYERS) return; @@ -2965,6 +2965,11 @@ boolean SDLReadJoystick(int nr, int *x, int *y, boolean *b1, boolean *b2) return TRUE; } + +/* ========================================================================= */ +/* touch input overlay functions */ +/* ========================================================================= */ + #if defined(USE_TOUCH_INPUT_OVERLAY) static void DrawTouchInputOverlay() {