diff options
Diffstat (limited to 'src/sdlshared.h')
-rw-r--r-- | src/sdlshared.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/sdlshared.h b/src/sdlshared.h index 2c872b404..70798d441 100644 --- a/src/sdlshared.h +++ b/src/sdlshared.h @@ -26,6 +26,24 @@ #define SDLKey SDL_Keycode #define SDL_GetKeyState SDL_GetKeyboardState #define SDL_HWSURFACE 0 +#define SDL_keysym SDL_Keysym + +#define KMOD_META KMOD_GUI +#define SDLK_RMETA SDLK_RGUI +#define SDLK_LMETA SDLK_LGUI +#define SDLK_KP0 SDLK_KP_0 +#define SDLK_KP1 SDLK_KP_1 +#define SDLK_KP2 SDLK_KP_2 +#define SDLK_KP3 SDLK_KP_3 +#define SDLK_KP4 SDLK_KP_4 +#define SDLK_KP5 SDLK_KP_5 +#define SDLK_KP6 SDLK_KP_6 +#define SDLK_KP7 SDLK_KP_7 +#define SDLK_KP8 SDLK_KP_8 +#define SDLK_KP9 SDLK_KP_9 +#define SDLK_PRINT SDLK_PRINTSCREEN +#define SDLK_NUMLOCK SDLK_NUMLOCKCLEAR +#define SDLK_SCROLLOCK SDLK_SCROLLLOCK #else |