Closed KhDenys closed 3 years ago
(I took the liberty to edit your comment for readability: https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks)
When I run your sample, it enters an infinite loop of printing "w", "x" and "r". Every tap
and type
will cause on_release
to be called.
If this is not what is happening for you, please see the documentation for requirements when running under macOS.
@moses-palmer Idk how, but it seems like some dependence wasn't installed. So after I had installed another similar libs, pynput.keyboard.Controller started working.
Hi, I can't tap any keys by pynput, here the code that I've used to simulate key combination: