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 12.5k 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

      @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
              • mituM
                mitu Global Moderator @mitu
                last edited by mitu

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

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

                And that was the case - older Python version have a bug, which trips py-sdl2 (the old version included in Ubuntu 18.04 and forks) and crashes the joy2key script.
                @ramb0 I've added a workaround in joy2key - can you update your RetroPie and re-test to see if it fixes your issue ?

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

                  Hi @mitu,

                  Got it working right after the update, you are master! Thank you very much, you saved many frustrations=)
                  And luckily the fix commit itself wasn't too long (just quickly browsed it through) but it was clever.

                  1 Reply Last reply Reply Quote 1
                  • W
                    WashCaps33
                    last edited by

                    Hope someone can help me out. I did an update on my retro pie and suddenly I too can not navigate the menu screens. Controller works great for game play, but not for menu screens. I confirmed that the joy2key was downloaded though. Can’t figure out what to do to solve the problem. And to make it more difficult, I am not good with coding or finding the details some are providing.

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

                      @washcaps33 Please add some info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.

                      W 1 Reply Last reply Reply Quote 0
                      • W
                        WashCaps33 @mitu
                        last edited by

                        @mitu

                        Running a Pi3 on Raspian GNU/Linux 9.3 (stretch)

                        Version 4.7.21

                        Attempted an update and received an error that said “ unable to install binary for joy2key”

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          sleve_mcdichael @WashCaps33
                          last edited by sleve_mcdichael

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

                          Running a Pi3 on Raspian GNU/Linux 9.3 (stretch)

                          Stretch is no longer supported. Backup your roms, bios, and configs folders (over the network share is probably easiest). Install the current official image, or install manually on a fresh Raspbian 10 (Buster) distro, and then restore your backed-up folders. You cannot upgrade in-place.

                          W 1 Reply Last reply Reply Quote 0
                          • W
                            WashCaps33 @sleve_mcdichael
                            last edited by

                            @sleve_mcdichael

                            BLAH! I had a feeling that was coming. Cool. Thanks for the info!

                            1 Reply Last reply Reply Quote 1
                            • S stevethefish76 referenced this topic on
                            • 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.