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.
    • DarksaviorD
      Darksavior
      last edited by Darksavior

      I verified this twice by recovering from a pi3 backup of 4.2.7. I also tried a clean 4.2 image and by updating the script to 4.2.12, it does install some missing packages and then pad buttons stops responding.

      Pads used: original snes pad through gpio with gamecon driver. ps3 usb custom chip pad from focusattack (phreakmods). Both pads work perfectly fine in 4.2.12 ES, emulators, and kodi.

      What exactly happens:
      In retropie-setup, when I update the script itself to .12, my snes pad buttons stops working. The dpad still works. USB pad still works. Nothing else is updated but the script.

      If I actually update all packages (except for the kernel):
      USB pad still works, but when I reboot and go back to retropie-setup, the usb buttons stops working as well. I also am no longer able to edit launch settings. Keyboard still works for these tasks.

      1 Reply Last reply Reply Quote 1
      • M
        MrPotato
        last edited by

        Registered just to respond here -- I, too, am having this issue.

        I have a fairly vanilla installation of RetroPie. I did a full clean install with the latest image this week. I use two iBuffalo SNES-style USB controllers.

        Upon updating the setup script only, I am no longer able to use the buttons on the controller in retropie "setup menus". The D-Pad works, but the buttons do not. So I can highlight an item, but can't press "A" to select them.
        Oddly enough, the "A" button on the second controller will select it!

        The buttons work fine in the regular retropie screen to select games, and work fine in games.

        I could live with this issue, except, the worst part is that I can no longer press "A" when launching a game to modify the used emulator settings for individual ROMS. AHH!!

        The ONLY thing that has changed was an update to the setup script from the included one in the image.

        Help!!

        DarksaviorD 1 Reply Last reply Reply Quote 0
        • DarksaviorD
          Darksavior @MrPotato
          last edited by

          @mrpotato @edmaul69 found a workaround for the controller problem by connecting a second controller and using that.

          M 1 Reply Last reply Reply Quote 0
          • M
            MrPotato @Darksavior
            last edited by

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

            @mrpotato @edmaul69 found a workaround for the controller problem by connecting a second controller and using that.

            Yes, there is a similar thread here as well: https://retropie.org.uk/forum/topic/11904/updated-retropie-setup-to-4-2-12-suddenly-playstation-controllers-swapped/10

            Hopefully it is fixed with an update to the setup script.

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators
              last edited by

              There have been some changes to the way it maps buttons recently. Could be related to changes from @meleu or a recent commit from someone else. Which controllers do you have connected and in which ports etc?

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              meleuM 1 Reply Last reply Reply Quote 0
              • meleuM
                meleu @BuZz
                last edited by

                @buzz the OP says that his setup was working fine in 4.2.7. My changes in joy2key happened in 4.2.3, as we can see browsing the RetroPie-Setup repo at the point of history where my PR was merged.

                I see a commit from @psyke83 in joy2key's history, and the diff shows that he/she changed some buttons related code: https://github.com/RetroPie/RetroPie-Setup/commit/96e6efca4649d03e93f1ded04539034a9c8d2353

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                P BuZzB 2 Replies Last reply Reply Quote 0
                • P
                  psyke83 Global Moderator @meleu
                  last edited by

                  It could be caused by my commit but I don't have a second pad to test. Can someone post their controller .cfg (in /opt/retropie/configs/all/retroarch-joypads/) for the pad that's giving problems?

                  1 Reply Last reply Reply Quote 1
                  • BuZzB
                    BuZz administrators @meleu
                    last edited by

                    @meleu Yep, that was the other commit I mentioned. Could be that - or could be some kernel related thing to do with joypad order perhaps (although joy2key should handle it).

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    P 1 Reply Last reply Reply Quote 1
                    • P
                      psyke83 Global Moderator @BuZz
                      last edited by psyke83

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

                      @meleu Yep, that was the other commit I mentioned. Could be that - or could be some kernel related thing to do with joypad order perhaps (although joy2key should handle it).

                      I think it's a problem with my commit, but I need help from someone with one of those pads to share their config file. To be sure it's not the kernel, etc, they could try reverting my commit:
                      cd RetroPie-Setup
                      git revert 96e6efca4649d03e93f1ded04539034a9c8d2353

                      To get back to normal:
                      cd RetroPie-Setup
                      git reset --hard origin/master

                      lostlessL edmaul69E 3 Replies Last reply Reply Quote 1
                      • E
                        EvilDindon
                        last edited by

                        Same here.

                        But i found that pressing "start" instead of "a" during launching works : the launching menu options appear !

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          psyke83 Global Moderator @EvilDindon
                          last edited by psyke83

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

                          Same here.

                          But i found that pressing "start" instead of "a" during launching works : the launching menu options appear !

                          The runcommand dialog is a bit misleading. I think it means any key ("a" as an article, not the "a" key), so any recognized key might trigger (but I'm not 100% certain). If the problem is my commit, joy2key is not parsing the a/b keys correctly for some reason.

                          meleuM edmaul69E 3 Replies Last reply Reply Quote 0
                          • meleuM
                            meleu @psyke83
                            last edited by

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

                            I think it means any key ("a" as an article, not the "a" key)

                            It changed. I posted about it here: https://retropie.org.uk/forum/topic/10321/looking-for-testers-custom-joystick-mappings-for-runcommand-retropie_setup-menus

                            • Useful topics
                            • joystick-selection tool
                            • rpie-art tool
                            • achievements I made
                            BuZzB 1 Reply Last reply Reply Quote 0
                            • lostlessL
                              lostless @psyke83
                              last edited by lostless

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

                              git revert 96e6efca4649d03e93f1ded04539034a9c8d2353

                              got this error when trying to revert.

                              error: Your local changes would be overwritten by revert.
                              hint: Commit your changes or stash them to proceed.
                              fatal: revert failed
                              

                              The joystick that is causing issues has 2 controllers with the same name. The second player works. Just player 1 can't select anything, only move around with the dpad.
                              heres the config.

                              input_device = "Twin USB Joystick"
                              input_driver = "udev"
                              input_r_y_plus_axis = "+2"
                              input_l3_btn = "10"
                              input_r_x_minus_axis = "-3"
                              input_l_btn = "6"
                              input_load_state_btn = "6"
                              input_start_btn = "9"
                              input_exit_emulator_btn = "9"
                              input_l_y_minus_axis = "-1"
                              input_up_btn = "h0up"
                              input_r_y_minus_axis = "-2"
                              input_a_btn = "1"
                              input_b_btn = "2"
                              input_reset_btn = "2"
                              input_enable_hotkey_btn = "10"
                              input_down_btn = "h0down"
                              input_l_x_plus_axis = "+0"
                              input_l_y_plus_axis = "+1"
                              input_r_btn = "7"
                              input_save_state_btn = "7"
                              input_r2_btn = "5"
                              input_r3_btn = "11"
                              input_right_btn = "h0right"
                              input_state_slot_increase_btn = "h0right"
                              input_x_btn = "0"
                              input_menu_toggle_btn = "0"
                              input_select_btn = "8"
                              input_l_x_minus_axis = "-0"
                              input_y_btn = "3"
                              input_left_btn = "h0left"
                              input_state_slot_decrease_btn = "h0left"
                              input_r_x_plus_axis = "+3"
                              input_l2_btn = "4"
                              
                              BuZzB P 2 Replies Last reply Reply Quote 0
                              • BuZzB
                                BuZz administrators @meleu
                                last edited by BuZz

                                @meleu Any mapped button should still trigger the menu - it shouldn't mean the "A button", since any keyboard button should also work (or at least any button that outputs something)

                                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                1 Reply Last reply Reply Quote 1
                                • BuZzB
                                  BuZz administrators @lostless
                                  last edited by BuZz

                                  @lostless Please use a code block for configs as detailed in the sticky topic - http://commonmark.org/help/ (please edit your post and add the ``` characters above and below the config)

                                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                  lostlessL 1 Reply Last reply Reply Quote 0
                                  • lostlessL
                                    lostless @BuZz
                                    last edited by

                                    @buzz sorry to derail the thread, but what key is that? can't find it anywhere on my mac. I had to copy and paste.

                                    BuZzB edmaul69E 2 Replies Last reply Reply Quote 0
                                    • BuZzB
                                      BuZz administrators @lostless
                                      last edited by

                                      @lostless backtick

                                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                      lostlessL 1 Reply Last reply Reply Quote 0
                                      • lostlessL
                                        lostless @BuZz
                                        last edited by

                                        @buzz LOL thanks. found it on my above my tab. never knew it existed in all the years I've been staring at it. I only ever used the shift tilde.

                                        1 Reply Last reply Reply Quote 0
                                        • edmaul69E
                                          edmaul69 @psyke83
                                          last edited by edmaul69

                                          @psyke83 it didnt work.after running the first git it brings up a nano script about the changes. not sure if i was supposed to edit so i just pressed ctrl + X. here is what it said when i ran the two things:

                                          root@retropie:/home/pi/RetroPie-Setup# git revert 96e6efca4649d03e93f1ded04539034a9c8d2353
                                          [master d0d9715] Revert "joy2key: implement key verification & dpad support"
                                           2 files changed, 9 insertions(+), 13 deletions(-)
                                          root@retropie:/home/pi/RetroPie-Setup# git reset --hard origin/master           
                                          HEAD is now at 8abaf6a usbromservice - remove -ue from bash script - fixes script stopping after copying roms
                                          
                                          P 1 Reply Last reply Reply Quote 0
                                          • edmaul69E
                                            edmaul69 @psyke83
                                            last edited by

                                            @psyke83 also, if only updating retropie-setup caused this could it still be a kernel issue as i only updated retropie-setup and not the kernel?

                                            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.