summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sdl/sdl_input.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c
index 1a51c928..88ac0451 100644
--- a/src/sdl/sdl_input.c
+++ b/src/sdl/sdl_input.c
@@ -248,8 +248,13 @@ static keyNum_t IN_TranslateSDLToQ3Key( SDL_Keysym *keysym, qboolean down )
case SDLK_LCTRL:
case SDLK_RCTRL: key = K_CTRL; break;
+#ifdef MACOS_X
case SDLK_RGUI:
case SDLK_LGUI: key = K_COMMAND; break;
+#else
+ case SDLK_RGUI:
+ case SDLK_LGUI: key = K_SUPER; break;
+#endif
case SDLK_RALT:
case SDLK_LALT: key = K_ALT; break;