Closed Inc0n closed 2 years ago
Thank you for report.
This issue has been reported previously, but I finally have a working macOS environment, so I managed to attempt a solution. If you find the time, please test the branch fixup-macos-ctrl-modifier
and provide feedback on this issue.
I have verified that the snippet provided in the comment above works with the test branch, and it has been merged into master, so I will close this issue.
Description
Keycode after a control modifier is not understood as the original keycode. For example pressing control-v, the first control is understood, but the next key is '\x16' instead of the 'v' Output:
Platform and pynput version Mac M1 big sur 11.5.1 pynput 1.7.3
To Reproduce
With the following code:
Run the code, and press control+v. and the message "ctrl r triggers" is never seen