RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    Scheduled Pinned Locked Moved Help and Support
    python4.9.35-v7+uinputx11
    1 Posts 1 Posters 433 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xrenon
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      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.