]> git.proxmox.com Git - qemu.git/commitdiff
Windows keys support with keymaps
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 1 Mar 2005 21:43:42 +0000 (21:43 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 1 Mar 2005 21:43:42 +0000 (21:43 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1315 c046a42c-6fe2-441c-8c8c-71466251a162

keymaps/modifiers
sdl_keysym.h

index 06c43442e57f94914a1f0aa9083060c223daeef7..d8b019f04004bf50a9ea7bf6fe8ba1f2157fc598 100644 (file)
@@ -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
index a1485eeca91079fc40526ba92fefd9f02bbf5023..9a7414209f5789fbce50e0860c24ca48e3b8fa60 100644 (file)
@@ -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},