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

Gamepad buttons stop working in retropie-setup 4.2.12

Scheduled Pinned Locked Moved Help and Support
gameconretropie-setupcontrollergamepad
65 Posts 10 Posters 15.9k 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.
  • P
    psyke83 Global Moderator @MrPotato
    last edited by 27 Jul 2017, 21:16

    @mrpotato said in Gamepad buttons stop working in retropie-setup 4.2.12:

    Bombed on the first part.

    Damn, sorry. Refresh the post (was supposed to be origin/master just as I wrote in the earlier post).

    1 Reply Last reply Reply Quote 1
    • M
      MrPotato
      last edited by MrPotato 27 Jul 2017, 21:19

      :) I thought maybe so. :)

      Ok. Bombed on second part. :) Guessing I need to "set my identity" with those commands? (Cannot paste full input string for the revert command.. "Akismet" blocks it)

      pi@retropie:~/RetroPie-Setup $ sudo git reset --hard origin/master
      HEAD is now at 8abaf6a usbromservice - remove -ue from bash script - fixes script stopping after copying roms
      pi@retropie:~/RetroPie-Setup $ sudo git revert <string here>
      
      *** Please tell me who you are.
      
      Run
      
        git config --global user.email "you@example.com"
        git config --global user.name "Your Name"
      
      to set your account's default identity.
      Omit --global to set the identity only in this repository.
      
      fatal: unable to auto-detect email address (got 'root@retropie.(none)')
      
      1 Reply Last reply Reply Quote 0
      • M
        MrPotato
        last edited by 27 Jul 2017, 21:28

        Ok.

        pi@retropie:~/RetroPie-Setup $ sudo git reset --hard origin/master
        HEAD is now at 8abaf6a usbromservice - remove -ue from bash script - fixes script stopping after copying roms
        pi@retropie:~/RetroPie-Setup $ sudo git revert <long string here... removed because of filter>
        [master b4bf393] Revert "joy2key: implement key verification & dpad support"
         2 files changed, 9 insertions(+), 13 deletions(-)
        

        Testing. Reset same as when I did the "reset".

        1. Works in menus.
        2. Still doesn't work when launching ROMs.
        P 1 Reply Last reply 27 Jul 2017, 21:32 Reply Quote 0
        • P
          psyke83 Global Moderator @MrPotato
          last edited by 27 Jul 2017, 21:32

          @mrpotato said in Gamepad buttons stop working in retropie-setup 4.2.12:

          Ok.

          pi@retropie:~/RetroPie-Setup $ sudo git reset --hard origin/master
          HEAD is now at 8abaf6a usbromservice - remove -ue from bash script - fixes script stopping after copying roms
          pi@retropie:~/RetroPie-Setup $ sudo git revert <long string here... removed because of filter>
          [master b4bf393] Revert "joy2key: implement key verification & dpad support"
           2 files changed, 9 insertions(+), 13 deletions(-)
          

          Testing. Reset same as when I did the "reset".

          1. Works in menus.
          2. Still doesn't work when launching ROMs.

          So I think we can surmise that the button mappings don't work correctly because of my patch, but the runcommand issue is not related to my patch.

          1 Reply Last reply Reply Quote 0
          • M
            MrPotato
            last edited by 27 Jul 2017, 21:33

            Well, edmaul69 did say he had to reinstall runcommand after the revert. No idea what is affecting that, but it worked fine prior to the setup script update. :\

            1 Reply Last reply Reply Quote 0
            • M
              MrPotato
              last edited by MrPotato 27 Jul 2017, 21:38

              Went back to "normal" with sudo git reset --hard origin/master.
              Then went into setup and did an 'update from binary' on runcommand.
              Then rebooted.
              Ugh.. pressing a key when launching a game still isn't working. (though, it does work on 2nd controller. :P)
              Seems I am not in a good place. :(

              1 Reply Last reply Reply Quote 0
              • D
                Darksavior
                last edited by Darksavior 27 Jul 2017, 22:08

                I can't run the git revert in either putty or real terminal. Putty says some crap about inputting my email with root and real terminal just flat out tells me revert failed.

                M 1 Reply Last reply 27 Jul 2017, 22:30 Reply Quote 0
                • M
                  MrPotato @Darksavior
                  last edited by 27 Jul 2017, 22:30

                  @darksavior said in Gamepad buttons stop working in retropie-setup 4.2.12:

                  I can't run the git revert in either putty or real terminal. Putty says some crap about inputting my email with root and real terminal just flat out tells me revert failed.

                  Use the config commands to set your email/name and those get resolved. :)

                  D 1 Reply Last reply 27 Jul 2017, 22:57 Reply Quote 0
                  • O
                    obsidianspider
                    last edited by 27 Jul 2017, 22:34

                    For what it's worth, I am having the same issue, I think.I'm on 4.2.12 on my SFC pi with a raphnet USB SNES controller adapter.

                    I was trying to install lr-snes9x tonight and while I can use the D pad in retropie-setup, I can't confirm anything or exit out of it. I tried plugging in my second controller, but no dice. The controllers work just fine in emulationstation and in games.

                    I also cannot get the runcommand menu to come up when a game is loading. I used to press A but no action buttons are triggering it.

                    📷 @obsidianspider

                    1 Reply Last reply Reply Quote 0
                    • D
                      Darksavior @MrPotato
                      last edited by Darksavior 27 Jul 2017, 22:57

                      @mrpotato I'll keep at it. so far it's not seeing the email address I put in. This is just ridiculous that I have to do this at all. Still getting revert failed.
                      Edit: actually, I give up since there's not much else to do. I'll wait for 4.2.13 or whatever officially fixes it.
                      Edit2: for whatever I was doing, seems the problem is fixed despite getting revert failed.

                      1 Reply Last reply Reply Quote 0
                      • O
                        obsidianspider
                        last edited by 27 Jul 2017, 23:24

                        Considering @Darksavior having a bit of success, I updated to the newest revision of 4.1.2, which as of right now is (bda4718) and the problem is still present.

                        📷 @obsidianspider

                        1 Reply Last reply Reply Quote 0
                        • M
                          MrPotato
                          last edited by 28 Jul 2017, 00:38

                          I've unplugged one controller. With a single controller, I have most functionality. Obviously won't work long term since we use both regularly, but at least I can rock it solo for now.

                          1 Reply Last reply Reply Quote 0
                          • P
                            psyke83 Global Moderator
                            last edited by psyke83 28 Jul 2017, 02:17

                            Can someone with the controller issue please test this modified script?

                            Enter the retropie-setup folder:

                            cd RetroPie-Setup
                            

                            Undo any changes if you followed my prior steps to revert the commit:

                            git reset --hard origin/master
                            

                            Fetch and apply the patch:

                            wget https://gist.githubusercontent.com/psyke83/9a0b31bcd8f43d16d081462363741f35/raw/4ce063642e9088c3faa541d965d439d50c951101/joy2key.patch
                            patch -p1 <joy2key.patch

                            If everything goes as expected, you should see:

                            patching file scriptmodules/supplementary/runcommand/joy2key.py
                            

                            If there are no further messages/errors, then the patch was applied and is ready to test.

                            Slightly OT: guys & gals, try not to complain too much. The Pi itself is supposed to be a hobbyist board to encourage people to learn Linux & programming. That may not be your intended purpose, but keep an open mind. If you don't want to go near a terminal, leave it to someone else to test & and wait for the inevitable fix to be merged. The problem was my fault, but I don't have a second pad available so it's difficult for me to reproduce the issue.

                            D 1 Reply Last reply 28 Jul 2017, 02:47 Reply Quote 0
                            • D
                              Darksavior @psyke83
                              last edited by Darksavior 28 Jul 2017, 02:47

                              @psyke83 I'm using a backup I made last month and with just updating the script to 4.2.12 to introduce the bug, I ran the patcher and did nothing.

                              P 1 Reply Last reply 28 Jul 2017, 02:49 Reply Quote 0
                              • P
                                psyke83 Global Moderator @Darksavior
                                last edited by 28 Jul 2017, 02:49

                                @darksavior You mean it didn't fix the problem?

                                Once the patch is applied you still need to enter the retropie-setup menu yourself.

                                D 1 Reply Last reply 28 Jul 2017, 02:49 Reply Quote 0
                                • D
                                  Darksavior @psyke83
                                  last edited by Darksavior 28 Jul 2017, 02:49

                                  @psyke83 Yea, that's what I meant. The patcher did do the patching, but it did not fix the problem.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    psyke83 Global Moderator
                                    last edited by 28 Jul 2017, 04:40

                                    Please try the second patch:

                                    cd RetroPie-Setup
                                    git reset --hard origin/master
                                    wget -N https://gist.githubusercontent.com/psyke83/9a0b31bcd8f43d16d081462363741f35/raw/89fae3f4a7a6309fd7cc5863ed62f245f84c729f/joy2key.patch
                                    patch -p1 <joy2key.patch
                                    D 1 Reply Last reply 28 Jul 2017, 05:00 Reply Quote 1
                                    • D
                                      Darksavior @psyke83
                                      last edited by Darksavior 28 Jul 2017, 05:00

                                      @psyke83 That works. Many thanks.
                                      I also retested it again from my old backup. I update script to 4.2.12, bug introduced, exit retropie-setup, added your patch, re-enter retropie-setup and controls work again.

                                      1 Reply Last reply Reply Quote 1
                                      • P
                                        psyke83 Global Moderator
                                        last edited by 28 Jul 2017, 05:17

                                        TY. I've submitted the patch via PR #2059.

                                        Keep using the patch until the PR has been accepted & merged. When it's merged, you'll need to do a hard reset to clear the local changes or else the script update will fail.

                                        cd RetroPie-Setup
                                        git reset --hard origin/master
                                        D 1 Reply Last reply 28 Jul 2017, 06:37 Reply Quote 1
                                        • D
                                          Darksavior @psyke83
                                          last edited by 28 Jul 2017, 06:37

                                          @psyke83 bit offtopic, but I want to try your gamecon fix if you can provide the instructions. I've been stuck on 4.4 kernel because of that.

                                          P 1 Reply Last reply 28 Jul 2017, 14:07 Reply Quote 0
                                          42 out of 65
                                          • First post
                                            42/65
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received