summaryrefslogtreecommitdiff
path: root/src/sdlshared.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 18:03:05 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:16 +0300
commitc7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3 (patch)
tree6585eb0acd0afa4f11cd0b87661ce527cabda9ae /src/sdlshared.h
parentb9fe47de21f8c899bfe36f70633a8c8110314d77 (diff)
downloadmv-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.tar.gz
mv-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.tar.bz2
mv-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.tar.xz
mv-c7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3.zip
fix keyboard handling in gui in SDL2.
Diffstat (limited to 'src/sdlshared.h')
-rw-r--r--src/sdlshared.h2
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