GHOST/X11: Map unknown de,fr keys to accentgrave
This still uses the correct string when typing text, it just allows the key to be used in keymaps. We should eventually add scan-code support.
This commit is contained in:
parent
fb1915d870
commit
4127aeb7a5
|
@ -1743,6 +1743,9 @@ convertXKey(KeySym key)
|
|||
GXMAP(type, XF86XK_AudioForward, GHOST_kKeyMediaLast);
|
||||
#endif
|
||||
#endif
|
||||
/* Non US keyboard layouts: avoid 'UnknownKey' - TODO(campbell): lookup scan-codes. */
|
||||
GXMAP(type, XK_dead_circumflex, GHOST_kKeyAccentGrave); /* 'de' */
|
||||
GXMAP(type, XK_twosuperior, GHOST_kKeyAccentGrave); /* 'fr' */
|
||||
default:
|
||||
type = GHOST_kKeyUnknown;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue