diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-23 18:03:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:16 +0300 |
commit | c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3 (patch) | |
tree | 6585eb0acd0afa4f11cd0b87661ce527cabda9ae /src/sdlshared.h | |
parent | b9fe47de21f8c899bfe36f70633a8c8110314d77 (diff) | |
download | manaplus-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.tar.gz manaplus-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.tar.bz2 manaplus-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.tar.xz manaplus-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.zip |
fix keyboard handling in gui in SDL2.
Diffstat (limited to 'src/sdlshared.h')
-rw-r--r-- | src/sdlshared.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdlshared.h b/src/sdlshared.h index d06040220..7683cb9f2 100644 --- a/src/sdlshared.h +++ b/src/sdlshared.h @@ -24,7 +24,7 @@ #ifdef USE_SDL2 #define SDL_GetKeyState SDL_GetKeyboardState -#define SDLKey SDL_Keycode +#define SDLKey SDL_Scancode #define SDL_keysym SDL_Keysym #define SDL_ANYFORMAT 0 |