aboutsummaryrefslogtreecommitdiff
path: root/tokenize.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-01-20 09:34:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-01-20 09:34:45 +0000
commit786037791c2e775c98287d794277b6ef0752aab4 (patch)
tree126f0dabb4b52ab4cb402e33411b380786a14bf1 /tokenize.c
parentinput: kitty: fix alternate codepoint sometimes not being reported (diff)
input: kitty: improve handling of alternate+base keys even more
* Always do a base key lookup. Before this, we didn't do that if we matched the XKB sym to a lookup table entry (i.e. keypads, cursor keys etc.) * Try to retrieve the unshifted symbol also when we matched the symbol to a lookup table entry. When successful, we now report an alternate key for keypad and cursor keys; before this patch, we only did that for keys that didn't have an entry in the lookup table (i.e. ASCII chars etc). This improves compatibility with kitty (and the kitty keyboard protocol) in more corner cases. One particular example is the neo keyboard layout, where part of the regular keys act as keypad keys when num-lock is active.
Diffstat (limited to 'tokenize.c')
0 files changed, 0 insertions, 0 deletions