Closed Wisgon closed 1 year ago
Thank you for your report.
Do you perchance log in to a Wayland session? This library does not work under Wayland, but applications running under XWayland will work. Chrome generally does that, and thus probably Electron based applications such as VSCode as well.
I will close this issue since this is a known limitation. Please reopen if you think that is incorrect.
OK, thank you.
System: ubuntu22.04 Python: 3.10.8 pynput: 1.7.6
Code:
Problem:
When I run python script in vscode to start listen, every thing is find, I can get mouse click event, when I switch to chrome, it also work.
But, when I open an text editor window, and when the mouse is in the editor window, I can't get the mouse click event, I want to know why, and is there any solution?
Thanks.