summaryrefslogtreecommitdiff
path: root/src/sdlshared.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdlshared.h')
-rw-r--r--src/sdlshared.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/sdlshared.h b/src/sdlshared.h
index 840283688..d06040220 100644
--- a/src/sdlshared.h
+++ b/src/sdlshared.h
@@ -50,11 +50,15 @@
#define SDLK_PRINT SDLK_PRINTSCREEN
#define SDLK_NUMLOCK SDLK_NUMLOCKCLEAR
#define SDLK_SCROLLOCK SDLK_SCROLLLOCK
+#define SDLK_LAST SDL_NUM_SCANCODES
-#else
+#define SDL_DEFAULT_REPEAT_DELAY 500
+
+#else // USE_SDL2
#define SDL_Window SDL_Surface
+#define SDL_JoystickNameForIndex SDL_JoystickName
-#endif
+#endif // USE_SDL2
-#endif
+#endif // SDLSHARED_H