Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first
Key press simulation failed
-
I am trying to press a key virtually when a logic triggers using uinput from a python program with the help of subprocess when the desktop environment of retropie is running. But when the retropie runs it gives no output. I have tried these
export DISPLAY=:0
export XAUTHORITY=/home/username/.Xauthority
but still no luck.I am also using crontab with miniconda. Everything is working fine except the key pressing.
Please help me solve this problem.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.