Open chenmonster opened 1 year ago
Thank you for your report.
Do you run an XOrg or Wayland based desktop? Wayland does not provide a general input listening mechanism, so when running under that graphics system, only events sent to applications running under XWayland will be seen.
You may want to look into using the uinput backend. This is activated by setting the environment variable PYNPUT_BACKEND_KEYBOARD=uinput
, but it requires that you run your application as root
.
OS: ubuntu-22.04.1-preinstalled-desktop-arm64+raspi
Hardware: raspberry-pi-4-model-b
Sorftware: Python3.10
When I click with the mouse or input with the keyboard, the listening function is not executed, and the result is as follows