aboutsummaryrefslogtreecommitdiff
path: root/scripts/benchmark.py
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-11-17 16:51:41 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-11-28 14:14:52 +0000
commit9f3dba683e0b308de9d41982089342f532634528 (patch)
tree337520c77fb6e13f4ec4bf53041a65f7b8fcaabc /scripts/benchmark.py
parentterm: kitty kbd: fix typo: ‘BKD’ -> ‘KBD’ (diff)
input: refactor: new function: legacy_kbd_protocol()
This breaks out all handling of key escapes to-be-sent to the client, to a separate function, legacy_kbd_protocol(). That is, the key press/release handler first handles key generic handling, such as starting and stopping the repeat timer. Then it checks for foot keyboard bindings. If not bindings match, we need to pass the keyboard event to the client. This code has now been separated out into a new function.
Diffstat (limited to 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions