summaryrefslogtreecommitdiff
path: root/src/sdlshared.h
diff options
context:
space:
mode:
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