Open emerysteele opened 4 years ago
Verified this code works normally if I downgrade pynput to 1.6.8
I have the same problem for the combinaison with numpad keys
I have the same problem with the key <255>, so it is confirmed for any keycode, works with 1.6.8
Thank you for your reports.
On what platform is this? It appears that you are trying to implement hot keys; have you tested the global hot key helper included with this library?
I'm on Windows 10, Python 3.9.0
I tried very briefly the hotkey helper, but my hotkey is unusual: ctrl left + ctrl right, and it didn't work (or maybe I gave up too soon) That other method worked under Pynput 1.6.8
I want to note that the other "combination" method doesn't work for me for combinations that include chatacters (eg: including keyboard.KeyCode.from_char('k') in the dictionary) but only for strange combinations such as ctrl left + ctrl right, while hotkey helper works fine for usual hotkeys.
Since updating to 1.7.1, my script no longer detects key combinations with numpad keys. :(
Seems to only affect keys that are detected using the vk KeyCode parameter.
Here is some sample code