I'm running Python 3.8.5 on Windows 10 using Anaconda.
When adding the hotkey "ctrl + alt + h", it works fine when pressing the left alt with left ctrl or right ctrl.
But when I use "alt gr" key with "right ctrl", the ALT key stays pressed afterwards.
Steps to reproduce:
>>>import keyboard as k
>>>k.add_hotkey('ctrl + alt + h', print, args=['pressed'], suppress=False)
If I press left ctrl + left alt + h again then it releases the alt key.
If I start pressing by "alt gr" the hotkey is not activated, but if I start pressing with "alt" then the hotkey is activated:
alt + ctrl + h => ok
alt + right ctrl + h => ok
ctrl + alt + h => ok
ctrl + alt gr + h => ok
right ctrl + alt + h => ok
right ctrl + alt gr + h => activated but does not release alt key
alt gr + ctrl + h => not activated
alt gr + right ctrl + h => not activated
Hi,
I'm running Python 3.8.5 on Windows 10 using Anaconda.
When adding the hotkey "ctrl + alt + h", it works fine when pressing the left alt with left ctrl or right ctrl. But when I use "alt gr" key with "right ctrl", the ALT key stays pressed afterwards.
Steps to reproduce:
After pressing left ctrl + left alt + h:
After pressing right ctrl + alt gr + h:
If I press left ctrl + left alt + h again then it releases the alt key.
If I start pressing by "alt gr" the hotkey is not activated, but if I start pressing with "alt" then the hotkey is activated: alt + ctrl + h => ok alt + right ctrl + h => ok ctrl + alt + h => ok ctrl + alt gr + h => ok right ctrl + alt + h => ok right ctrl + alt gr + h => activated but does not release alt key alt gr + ctrl + h => not activated alt gr + right ctrl + h => not activated
Thank you!