Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Wayland pynput v1.7.7 workaround (#106)
XWayland/Wayland does not reliably allow for capture of single key strokes via keyboard event listener(s), but playing about showed key-combos are _mostly_ caught quickly! Also it seems on Arch Linux (I use Arch BTW™) the `key` object sent through the `keyboard.listener` has a different _shape_, or perhaps the inconsistencies in capture behaviors got me jumping to wrong-thinking. Either way, these proposed changes _should_ preserve previously programmed `key.char` detection, while also allowing those stuck with Wayland to enjoy this tool.
- Loading branch information