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

    Controller no longer works in RetroPie Setup, Launching Menu, Es Themes

    Scheduled Pinned Locked Moved Help and Support
    controller
    41 Posts 9 Posters 11.1k 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.
    • N
      nogz @mitu
      last edited by

      @mitu

      Sorry, I' ve updated to 4.7.18 while trying to fix, used the command with the new path and it is the same:

      pi@retropie:~ $ /opt/retropie/admin/joy2key/joy2key_sdl.py kcub1 kcuf1 kcuu1 kcud1 0x0a 0x20 0x1b 0x00 kpp knp -d
      -bash: /opt/retropie/admin/joy2key/joy2key_sdl.py: No such file or directory
      
      
      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @nogz
        last edited by

        @nogz Go in the the core section of the packages in RetroPie-Setup and check if the joy2key module is installed. If it's not, then install it and repeat the test:

        f1fb8b60-b0dc-4391-8560-2b9bd75459e6-image.png

        N 1 Reply Last reply Reply Quote 1
        • N
          nogz @mitu
          last edited by

          @mitu it was not installed, after installing it everything works fine again

          Thanks for the support, really appreciatted!

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

            @nogz said in Controller no longer works in RetroPie Setup, Launching Menu, Es Themes:

            Thanks for the support, really appreciatted!

            Well, it's good that you got it working.

            Now the question is why it wasn't installed automatically during upgrade ? Do you remember which version you where running before the upgrade that broke the menu navigation ?

            N 1 Reply Last reply Reply Quote 0
            • N
              nogz @mitu
              last edited by

              @mitu thanks again
              If I am not mistaken my last update was about 2 weeks ago and I was running .16 version.
              I am pretty much sure the issue happened when I fetched the latest Retropie Setup Script, from this exact point on the controller stopped working as I could not confirm the prompt (disclaimer message). I can also confirm I have not changed nor updated any of the core modules separately. In Setup.

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

                @nogz So it was working with 2.7.16, but didn't work after the upgrade ?

                @DTEAM @phialek can you try also to check if the new joy2key core package is installed ? If not, install it and see if you get back the control in the RetroPie dialog menus.

                N DTEAMD GreenHawk84G 3 Replies Last reply Reply Quote 0
                • N
                  nogz @mitu
                  last edited by

                  @mitu yes, just like you described

                  1 Reply Last reply Reply Quote 1
                  • DTEAMD
                    DTEAM @mitu
                    last edited by

                    @mitu

                    With the joy2key core package, it works. It had not been installed. Thank you!!!

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      phialek @DTEAM
                      last edited by

                      Its working again. Thanks for the help.

                      1 Reply Last reply Reply Quote 0
                      • D
                        Delboy666 @nogz
                        last edited by

                        @nogz Hi, did you resolve your controller issue? I ask because I just updated Retropie and now my Logitech Gamepad F310 controller has dissapeared :-(
                        Retropie runs up but I cannot navigate the menus and there are no messages at the bottom of the Retropie screen prompting what controller buttons to press.
                        I am at a loss and somewhat annoyed as I have spent days and days getting all my roms recognised and artwork downloaded etc and it was at last starting to all come together and now this....

                        1 Reply Last reply Reply Quote 0
                        • GreenHawk84G
                          GreenHawk84 @mitu
                          last edited by

                          @mitu hello, I tried both of the paths in the terminal session and they did not work, and I also checked for Joy2key core package installed (even updated it manually via binary).

                          root@killerarcadepi4:~# /opt/retropie/admin/joy2key/joy2key_sdl.py
                          usage: joy2key_sdl.py [-h] [-d] 0xHEX [0xHEX ...]
                          joy2key_sdl.py: error: the following arguments are required: 0xHEX

                          root@killerarcadepi4:~# /opt/retropie/supplementary/runcommand/joy2key_sdl.py kcub1 kcuf1 kcuu1 kcud1 0x0a 0x20 0x1b 0x00 kpp knp -d
                          -bash: /opt/retropie/supplementary/runcommand/joy2key_sdl.py: No such file or directory
                          root@killerarcadepi4:~#

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

                            @greenhawk84 And your issue is ... ?

                            GreenHawk84G 1 Reply Last reply Reply Quote 0
                            • GreenHawk84G
                              GreenHawk84 @mitu
                              last edited by

                              @mitu oh yes, well my joystick and buttons no longer control the Update menus. I tried the methods suggested here. Unless I missed something ?

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

                                @greenhawk84 said in Controller no longer works in RetroPie Setup, Launching Menu, Es Themes:

                                Unless I missed something ?

                                Some context about the problem you have would help (version of RetroPie, type of controller, system, etc.). You seem to have the joy2key package installed, this should be enough to solve the issue reported in this topic.
                                Do you have any custom start/stop scripts ? Is the controller working in the runcommand launch menu ?

                                Regarding the commands you tried - your first command was almost correct (but missing arguments), your 2nd is not working since joy2key has now moved (1st command had the path correct, though). If you wish to see if the controller is detected, run (not as root)

                                /opt/retropie/admin/joy2key/joy2key_sdl.py kcub1 kcuf1 kcuu1 kcud1 0x0a 0x20 0x1b 0x00 kpp knp -d
                                

                                and then test the controller's buttons and joysticks. To exit the test, run

                                killall python3
                                
                                1 Reply Last reply Reply Quote 0
                                • R
                                  ramb0
                                  last edited by ramb0

                                  Hi all, I'm having similar issues with my debian x86 + retropie and spent now many hours without a result. Basically my xbox 360 controller is not working on launching menu and on retropie setup menus.
                                  Did you guys (who had joy2key installed and controller was not working still) got the controllers working?

                                  I have the above situation. I have tried to debug the issue with the command @mitu provided (BTW thank you very much the support!), but when I launch the joy2key_sdl.py command with the flags I get no response from controller when pressed conrollers buttons. Only line I get is this:
                                  2021-11-29 23:34:23,422 DEBUG Using SDL Version 2.0.8, PySDL2 version 0.9.3.

                                  I fetched RetroPie Setup from git at 11.11.2021 and the last commit is this:
                                  https://github.com/RetroPie/RetroPie-Setup/commit/04a74980e27b23102c015a930e25ad5dcb1f219e
                                  So I assume my retropie version is 4.7.1 or newer.
                                  -I have x86 Linux Mint and have used that repository's "retropie_setup.sh" to install all the packages.
                                  -I have installed all the core packages, joy2key is installed, xpad, xboxdrv, etc
                                  -I'm using Xbox 360 controlled with wireless USB dongle
                                  -The controller works on emulationstation and on retroarch and on all the games but not in runcommand (launching menu, when launching a rom) and not in retropie setup.
                                  -I have installed retropie also on my raspberry pi 3B+ with Raspberry Pi Imager (on sd card) and on that platform the controller is working fine everywhere.

                                  I compared the file "/opt/retropie/supplementary/runcommand/runcommand.sh" with my working raspberry pi and non working linux mint debian and noticed that there are some big changes mainly come from this pull request which have 3 commits:
                                  https://github.com/RetroPie/RetroPie-Setup/pull/3382
                                  Though, not sure has this pull request broke the functionality or not. Although, the changed runcommand.sh does not explain why the controller is not working on retropie setup menu..?

                                  Please, anyone, any idea and advise would be super great and appreciated!!=)

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

                                    @ramb0 said in Controller no longer works in RetroPie Setup, Launching Menu, Es Themes:

                                    -I have x86 Linux Mint and have used that repository's "retropie_setup.sh" to install all the packages.

                                    Is it Debian or Linux Mint ? Which version ?

                                    ... but when I launch the joy2key_sdl.py command with the flags I get no response from controller when pressed conrollers buttons. Only line I get is this:

                                    2021-11-29 23:34:23,422 DEBUG Using SDL Version 2.0.8, PySDL2 version 0.9.3.

                                    It should also print if any controllers are configured or detected. What version of python3 you have installed ? Run python3 -V and post the output.

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      ramb0 @mitu
                                      last edited by

                                      Hi @mitu,

                                      Thanks for a quick reply!=)

                                      Its Linux Mint debian based, here are more information from version etc:
                                      cat /etc/os-release
                                      NAME="Linux Mint"
                                      VERSION="19.1 (Tessa)"
                                      ID=linuxmint
                                      ID_LIKE=ubuntu
                                      PRETTY_NAME="Linux Mint 19.1"
                                      VERSION_ID="19.1"
                                      HOME_URL="https://www.linuxmint.com/"
                                      SUPPORT_URL="https://forums.linuxmint.com/"
                                      BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
                                      PRIVACY_POLICY_URL="https://www.linuxmint.com/"
                                      VERSION_CODENAME=tessa
                                      UBUNTU_CODENAME=bionic

                                      Here is python3 version:
                                      python3 -V
                                      Python 3.6.9

                                      I made an interesting found. I debugged an older runcommand.sh and found few commands for joy2key so based on that learning I tried to execute the command "/opt/retropie/admin/joy2key/joy2key.py /dev/input/jsX kcub1 kcuf1 kcuu1 kcud1 0x0a 0x09". After the execution when I pressed controller's "A" key, it acted as a "Enter" on linux terminal and also D-pad worked as keyboard arrow keys. So at least my controller seems to work on linux terminal.

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

                                        @ramb0 said in Controller no longer works in RetroPie Setup, Launching Menu, Es Themes:

                                        python3 -V
                                        Python 3.6.9

                                        That should be ok.

                                        I made an interesting found. I debugged an older runcommand.sh and found few commands for joy2key so based on that learning I tried to execute the command "/opt/retropie/admin/joy2key/joy2key.py /dev/input/jsX kcub1 kcuf1 kcuu1 kcud1 0x0a 0x09". After the execution when I pressed controller's "A" key, it acted as a "Enter" on linux terminal and also D-pad worked as keyboard arrow keys. So at least my controller seems to work on linux terminal.

                                        That's the old version of joy2key, which doesn't use SDL2. I'm guessing there's an issue with the SDL version you have, it's a bit older than what's on the RPI. Any reason you're using an older Linux Mint version ?

                                        R 1 Reply Last reply Reply Quote 0
                                        • R
                                          ramb0 @mitu
                                          last edited by

                                          @mitu

                                          I just checked the old joy2key command from my older retro pi installation on my raspberry pi. But on my Linux Mint retropi I should have pretty much the newest retropi installed including joy2key.

                                          @mitu said in Controller no longer works in RetroPie Setup, Launching Menu, Es Themes:

                                          I'm guessing there's an issue with the SDL version you have

                                          Just checked that SDL2 was not installed on my Linux Mint retropi, so I installed it -> rebooted and still controller is not working.

                                          @mitu said in Controller no longer works in RetroPie Setup, Launching Menu, Es Themes:

                                          Any reason you're using an older Linux Mint version ?

                                          No reason. I guess Im just being lazy to do all the backups before the upgrade. Do you assume that this older version of linux mint have bad impact to this issue?

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

                                            @ramb0 said in Controller no longer works in RetroPie Setup, Launching Menu, Es Themes:

                                            Just checked that SDL2 was not installed on my Linux Mint retropi, so I installed it -> rebooted and still controller is not working.

                                            You already had it installed, otherwise the joy2key_sdl.py wouldn't have run at all and would have printed an error.

                                            @mitu said in Controller no longer works in RetroPie Setup, Launching Menu, Es Themes:

                                            Any reason you're using an older Linux Mint version ?

                                            No reason. I guess Im just being lazy to do all the backups before the upgrade. Do you assume that this older version of linux mint have bad impact to this issue?

                                            Not necessarily, but I'll try to see if an older Python/SDL combo may be the culprit.

                                            mituM 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.