mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T102287: Unhandled Numpad Separator on QWERTZ under Wayland
This commit is contained in:
parent
6fa05e2c29
commit
fb52a09840
1 changed files with 6 additions and 0 deletions
|
|
@ -1264,6 +1264,12 @@ static GHOST_TKey xkb_map_gkey(const xkb_keysym_t sym)
|
|||
GXMAP(gkey, XKB_KEY_XF86AudioStop, GHOST_kKeyMediaStop);
|
||||
GXMAP(gkey, XKB_KEY_XF86AudioPrev, GHOST_kKeyMediaFirst);
|
||||
GXMAP(gkey, XKB_KEY_XF86AudioNext, GHOST_kKeyMediaLast);
|
||||
|
||||
/* Additional keys for non US layouts. */
|
||||
|
||||
/* Uses the same physical key as #XKB_KEY_KP_Decimal for QWERTZ layout, see: T102287. */
|
||||
GXMAP(gkey, XKB_KEY_KP_Separator, GHOST_kKeyNumpadPeriod);
|
||||
|
||||
default:
|
||||
/* Rely on #xkb_map_gkey_or_scan_code to report when no key can be found. */
|
||||
gkey = GHOST_kKeyUnknown;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue