summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keymaps/modifiers5
-rw-r--r--sdl_keysym.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/keymaps/modifiers b/keymaps/modifiers
index 06c43442e5..d8b019f040 100644
--- a/keymaps/modifiers
+++ b/keymaps/modifiers
@@ -8,9 +8,10 @@ Alt_L 0x38
Control_R 0x9d
Control_L 0x1d
-# Translate Meta, Super and Hyper to Windows keys.
+# Translate Super to Windows keys.
# This is hardcoded. See documentation for details.
+Super_R 0xdb
+Super_L 0xdc
# Translate Menu to the Windows Application key.
-# This one does not work either.
Menu 0xdd
diff --git a/sdl_keysym.h b/sdl_keysym.h
index a1485eeca9..9a7414209f 100644
--- a/sdl_keysym.h
+++ b/sdl_keysym.h
@@ -213,6 +213,8 @@ static name2keysym_t name2keysym[]={
{"Meta_R", SDLK_RMETA},
{"Shift_L", SDLK_LSHIFT},
{"Shift_R", SDLK_RSHIFT},
+{"Super_L", SDLK_LSUPER},
+{"Super_R", SDLK_RSUPER},
/* special keys */
{"BackSpace", SDLK_BACKSPACE},