aboutsummaryrefslogtreecommitdiff
path: root/.gitmodules
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-11-20 18:24:00 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-11-28 14:14:53 +0000
commitab5dfa3f3b5eab1a0763856c8d24792c0f07c12d (patch)
tree026ce5dd9b55e93af55ded552ccd1501be32d1cf /.gitmodules
parentinput: enable repeat while COMPOSING (diff)
input: wip: add support for kitty kbd protocol “Disambiguate escape codes”
Most things appear to work as in kitty. There’s one known difference: tri-state keys don’t generate the same unshifted symbol while holding Shift (but e.g. Ctrl+a and Ctrl+Shift+a *does* generate the same base symbol). For example, the Swedish keyboard layout has double quote, ‘2’ and ‘@’ on the same key. ‘2’ is the base (unshifted) symbol. Double quote is Shift+2. ‘@’ is AltGr+2. Kitty generates the same base symbol for ‘2’ and double quote (the base symbol is, as expected, ‘2’). But, for ‘@’ kitty generates the base symbol ‘@’. Currently, foot generates the base symbol by calling xkb_keysym_to_lower(). I _think_ what we need to do is “consume” the shift modifier, and then re-retrieve the symbol (given the current xkb state and key pressed).
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions