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

    Joystick/buttons work in ES and games, but not Retroarch

    Scheduled Pinned Locked Moved Help and Support
    retroarchmapping keysconfiguration
    15 Posts 2 Posters 504 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.
    • B
      beezerhale
      last edited by beezerhale

      Pi Model or other hardware: 3B+
      RetroPie Version Used - 4.4
      Retroarch 1.7.1
      ES v2.7.5rp
      Built From: Retropie from the retropie site
      Power Supply used: https://www.amazon.com/gp/product/B00L88M8TE/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1
      USB Devices connected: joystick and 6 button (Gamelec 2 player setup)
      Controller used: see above, plus keyboard


      Ok, new issue for me. I am using these joysticks/buttons. The show as Dragonrise. https://www.amazon.com/gp/product/B077FRWMKF/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1

      I am able to map them using EmulationStation as controller 1 and 2, however, after a reboot they will sometimes lose mapping. Right now, the mapping is all messed up because I reset through ES, reorganized the plug order, and it still has the old Retroarch setting from before this issue began. Here is where I am lost --- when I try to set them up in Retroarch controller 1 is not detected, but I can scroll and select with player 2. That isn't helpful. I need to set up player 1 as controller 1 and 2 as 2. I have reset the controllers in configuration (press F4, etc.) and I have unplugged my keyboard. I reorganized the way I have them connected to the encoder. Both are set up the exact same way. I have the buttons set up like this: https://imgur.com/T6mMAJS

      Any thoughts? Ideas? I appreciate it very much!

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

        @beezerhale You shouldn't have to re-configure the gamepads in RetroArch, if you configured them in Emulationstation they should be auto-configured in RetroArch also. You can find the configuration file in \\retropie\configs\all\retroarch-joypads.

        Did you enable - in RetroArch - the Save Configuration on Exit setting ? This has the tendency to mess up controllers configurations.

        One note regarding the configuration in ES - since they're identical, you only to configure 1 gamepad (P1 or P2) in ES, the same configuration applies to both. This also means you need to wire them identically, otherwise the configuration created for P1 will not work for P2 (or vice-versa).

        1 Reply Last reply Reply Quote 0
        • B
          beezerhale
          last edited by

          Ok, I did too much. Is there a way to erase the settings I added in retroarch and just start over?

          And yes, both are wired identically NOW. :)

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

            @beezerhale Look in \\retropie\configs\all\, replace the retroarch.cfg file with retroarch.cfg.rp-dist, this should get you the default configuration file.

            B 2 Replies Last reply Reply Quote 0
            • B
              beezerhale
              last edited by

              And I think I may have saved on exit, but not sure.

              Also, I did not know that about only needed to configure gamepad 1. I figured because it detected both that I would need to configure both. Thank you for the info.

              1 Reply Last reply Reply Quote 0
              • B
                beezerhale @mitu
                last edited by

                @mitu Ok. Thank you. I will get on that tomorrow. I'll report back.

                1 Reply Last reply Reply Quote 0
                • B
                  beezerhale @mitu
                  last edited by

                  @mitu Hi. About to follow your instructions. Do I replace the folder (delete the retroarch.cfg and create a new folder) or just rename the one that is there?

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

                    @beezerhale Leave the folder alone, just rename the retroarch.cfg file and replace it with the retroarch.cfg.rp-dist file which is in the same folder.

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      beezerhale @mitu
                      last edited by

                      @mitu Cool. Glad I checked. Thank you. But I do not see one that end with rp-dist. Here is what I am looking at: https://imgur.com/gallery/XMQkKJj

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

                        @beezerhale Rename the .cfg file, then re-install the retroarch package from the RetroPie-Setup script, a new .cfg will be created.

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          beezerhale
                          last edited by

                          Ahhhh. I am on it. Thank you for helping again!

                          1 Reply Last reply Reply Quote 0
                          • B
                            beezerhale @mitu
                            last edited by

                            @mitu I am in setup script now. Do I update from binary, source, or remove package?

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

                              @beezerhale Just install from binary.

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                beezerhale @mitu
                                last edited by

                                @mitu Ok, done. Then it detected 2 gamepads and I just mapped gamepad 1. A quick test of 1942 worked just fine. I'll have time later today to make sure the 2 second gamepad is mapped correctly. I'll report back. Thank you so much again!

                                1 Reply Last reply Reply Quote 0
                                • B
                                  beezerhale
                                  last edited by

                                  Thank you for all the guidance. It appears all is working well.

                                  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.