Commit 1289f43ab16f9a012fb3698bcc5c92e61c10cd34
1 parent
76472292
Windows keys support with keymaps
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1315 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
5 additions
and
2 deletions
keymaps/modifiers
... | ... | @@ -8,9 +8,10 @@ Alt_L 0x38 |
8 | 8 | Control_R 0x9d |
9 | 9 | Control_L 0x1d |
10 | 10 | |
11 | -# Translate Meta, Super and Hyper to Windows keys. | |
11 | +# Translate Super to Windows keys. | |
12 | 12 | # This is hardcoded. See documentation for details. |
13 | +Super_R 0xdb | |
14 | +Super_L 0xdc | |
13 | 15 | |
14 | 16 | # Translate Menu to the Windows Application key. |
15 | -# This one does not work either. | |
16 | 17 | Menu 0xdd | ... | ... |
sdl_keysym.h
... | ... | @@ -213,6 +213,8 @@ static name2keysym_t name2keysym[]={ |
213 | 213 | {"Meta_R", SDLK_RMETA}, |
214 | 214 | {"Shift_L", SDLK_LSHIFT}, |
215 | 215 | {"Shift_R", SDLK_RSHIFT}, |
216 | +{"Super_L", SDLK_LSUPER}, | |
217 | +{"Super_R", SDLK_RSUPER}, | |
216 | 218 | |
217 | 219 | /* special keys */ |
218 | 220 | {"BackSpace", SDLK_BACKSPACE}, | ... | ... |