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

    Joy2Key not reading my controller inputs after update

    Scheduled Pinned Locked Moved Help and Support
    joy2key
    13 Posts 2 Posters 198 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.
    • mituM
      mitu Global Moderator
      last edited by

      The log ouput is truncated, you may want to resize the SSH terminal session to capture the entire output.

      I don't see any errors reported and the configuration is loaded as before (Added configuration for known device 8BitDo...). What happens if you're pressing the buttons while the script is running, started from the debugging command line ?

      C 1 Reply Last reply Reply Quote 1
      • C
        Chuckgofer @mitu
        last edited by

        @mitu
        Here's a pastebin instead.
        https://pastebin.com/RRvwV5av

        In the meantime i will try to test pressing the buttons with the script running

        C 1 Reply Last reply Reply Quote 0
        • C
          Chuckgofer @Chuckgofer
          last edited by

          Running the command while the Retropie Setup menu is open makes the buttons work. Exiting the menu back to Emulationstation and then re-entering the Retropie setup menu causes the controller to go back to not working.

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by mitu

            That's strange, since the same type of command is ran when the menus are started. Does the runcommand menu work ? Did you reboot after updating ?

            EDIT: specifically, when starting RetroPie-Setup dialog menus, the following command is ran:

            python3 /opt/retropie/admin/joy2key/joy2key_sdl.py /dev/input/jsX kcub1 kcuf1 kcuu1 kcud1 0x0a 0x20 0x1b 0x09 kpp knp
            

            You can try running with the -d(debug) parameter to see if any errors are reported, outside of RetroPie-Setup

            python3 /opt/retropie/admin/joy2key/joy2key_sdl.py /dev/input/jsX kcub1 kcuf1 kcuu1 kcud1 0x0a 0x20 0x1b 0x09 kpp knp -d
            
            C 1 Reply Last reply Reply Quote 1
            • C
              Chuckgofer @mitu
              last edited by

              @mitu I'm going to keep looking for the runcommand menu. I rebooted after updating just now, still not working.

              Here's the result of the -d command
              https://pastebin.com/y23WyFH0

              C mituM 2 Replies Last reply Reply Quote 0
              • C
                Chuckgofer @Chuckgofer
                last edited by

                Assuming I have the correct runcommand menu, no it does not work in that menu.

                1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @Chuckgofer
                  last edited by

                  @Chuckgofer said in Joy2Key not reading my controller inputs after update:

                  Here's the result of the -d command

                  Nothing really different than the previous output - no errors logged. Not sure why it's not working though.

                  Assuming I have the correct runcommand menu, no it does not work in that menu.

                  OK. While the RetroPie-Setup is running (and the mapping is not working), can you run the following command (via SSH) and post the output:

                  ps -ef  | grep joy2key
                  
                  C 1 Reply Last reply Reply Quote 1
                  • C
                    Chuckgofer @mitu
                    last edited by

                    @mitu said in Joy2Key not reading my controller inputs after update:

                    ps -ef | grep joy2key

                    pi        1690  1636  0 03:22 pts/0    00:00:00 grep --color=auto joy2key
                    
                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @Chuckgofer
                      last edited by

                      It looks like the joy2key utility is not started.

                      I'll take a look at it later on, but in the mean time I have reverted the changes that caused this. Update again RetroPie-Setup and the mapping should be working again.

                      C 1 Reply Last reply Reply Quote 1
                      • C
                        Chuckgofer @mitu
                        last edited by

                        @mitu Thank you, that helped.

                        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.