Closed csiew closed 3 years ago
This ticket was initially meant to replace the Xlib-based keyboard event observer with pynput. It was realised that it would be much clearer to just move the keyboard combinations into a dictionary and map them to simple event names.
Xlib
pynput
key_combs.py
if-else
This ticket was initially meant to replace the
Xlib
-based keyboard event observer withpynput
. It was realised that it would be much clearer to just move the keyboard combinations into a dictionary and map them to simple event names.key_combs.py
keyboard combination event map.if-else
tree with dictionary search.