Commit 74b1b0c1f5aa231be4d41bdbcd2c7ddd00c1e27e
1 parent
a747723b
Fix AltGr and dead keys with VNC
(Marcel Zumstein) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6586 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
24 additions
and
0 deletions
keymaps/modifiers
vnc_keysym.h
| @@ -204,6 +204,7 @@ static const name2keysym_t name2keysym[]={ | @@ -204,6 +204,7 @@ static const name2keysym_t name2keysym[]={ | ||
| 204 | {"EuroSign", 0x20ac}, /* XK_EuroSign */ | 204 | {"EuroSign", 0x20ac}, /* XK_EuroSign */ |
| 205 | 205 | ||
| 206 | /* modifiers */ | 206 | /* modifiers */ |
| 207 | +{"ISO_Level3_Shift", 0xfe03}, /* XK_ISO_Level3_Shift */ | ||
| 207 | {"Control_L", 0xffe3}, /* XK_Control_L */ | 208 | {"Control_L", 0xffe3}, /* XK_Control_L */ |
| 208 | {"Control_R", 0xffe4}, /* XK_Control_R */ | 209 | {"Control_R", 0xffe4}, /* XK_Control_R */ |
| 209 | {"Alt_L", 0xffe9}, /* XK_Alt_L */ | 210 | {"Alt_L", 0xffe9}, /* XK_Alt_L */ |
| @@ -286,6 +287,28 @@ static const name2keysym_t name2keysym[]={ | @@ -286,6 +287,28 @@ static const name2keysym_t name2keysym[]={ | ||
| 286 | {"Pause", 0xff13}, /* XK_Pause */ | 287 | {"Pause", 0xff13}, /* XK_Pause */ |
| 287 | {"Escape", 0xff1b}, /* XK_Escape */ | 288 | {"Escape", 0xff1b}, /* XK_Escape */ |
| 288 | 289 | ||
| 290 | +/* dead keys */ | ||
| 291 | +{"dead_grave", 0xfe50}, /* XK_dead_grave */ | ||
| 292 | +{"dead_acute", 0xfe51}, /* XK_dead_acute */ | ||
| 293 | +{"dead_circumflex", 0xfe52}, /* XK_dead_circumflex */ | ||
| 294 | +{"dead_tilde", 0xfe53}, /* XK_dead_tilde */ | ||
| 295 | +{"dead_macron", 0xfe54}, /* XK_dead_macron */ | ||
| 296 | +{"dead_breve", 0xfe55}, /* XK_dead_breve */ | ||
| 297 | +{"dead_abovedot", 0xfe56}, /* XK_dead_abovedot */ | ||
| 298 | +{"dead_diaeresis", 0xfe57}, /* XK_dead_diaeresis */ | ||
| 299 | +{"dead_abovering", 0xfe58}, /* XK_dead_abovering */ | ||
| 300 | +{"dead_doubleacute", 0xfe59}, /* XK_dead_doubleacute */ | ||
| 301 | +{"dead_caron", 0xfe5a}, /* XK_dead_caron */ | ||
| 302 | +{"dead_cedilla", 0xfe5b}, /* XK_dead_cedilla */ | ||
| 303 | +{"dead_ogonek", 0xfe5c}, /* XK_dead_ogonek */ | ||
| 304 | +{"dead_iota", 0xfe5d}, /* XK_dead_iota */ | ||
| 305 | +{"dead_voiced_sound", 0xfe5e}, /* XK_dead_voiced_sound */ | ||
| 306 | +{"dead_semivoiced_sound", 0xfe5f}, /* XK_dead_semivoiced_sound */ | ||
| 307 | +{"dead_belowdot", 0xfe60}, /* XK_dead_belowdot */ | ||
| 308 | +{"dead_hook", 0xfe61}, /* XK_dead_hook */ | ||
| 309 | +{"dead_horn", 0xfe62}, /* XK_dead_horn */ | ||
| 310 | + | ||
| 311 | + | ||
| 289 | /* localized keys */ | 312 | /* localized keys */ |
| 290 | {"BackApostrophe", 0xff21}, | 313 | {"BackApostrophe", 0xff21}, |
| 291 | {"Muhenkan", 0xff22}, | 314 | {"Muhenkan", 0xff22}, |