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

    Configure controller by system

    Scheduled Pinned Locked Moved Help and Support
    controller confnessnes
    7 Posts 4 Posters 821 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.
    • J
      jasonmadeapie
      last edited by

      hello, I built my first Retropie system using a raspberry pie 4.

      I have some SNES style controllers that work fine for SNES and GBA but I would rather change the config for NES to use Y and B instead of B and A.

      The section on https://retropie.org.uk/docs/RetroArch-Configuration/
      Says to go to the Retroarch quick menu > Controllers> then to Configure the buttons the way you want...

      This is where I am stuck I do not see an option for configuring buttons at this point and I am a bit lost.

      Any advice would be greatly appreciated.

      Thanks!

      rbakerR theissdevT 2 Replies Last reply Reply Quote 0
      • rbakerR
        rbaker @jasonmadeapie
        last edited by

        @jasonmadeapie You configure the controllers during first boot? How did you configure them in the first instance? Fill out this list of info to enable further help: https://retropie.org.uk/forum/topic/3/read-this-first

        J 1 Reply Last reply Reply Quote 0
        • theissdevT
          theissdev @jasonmadeapie
          last edited by

          @jasonmadeapie I go in and manually edit the system's retroarch.cfg. It's basically an override file of /opt/retropie/configs/all/retroarch.cfg (nes one would be at /opt/retropie/configs/nes/retroarch.cfg).

          So if I knew the default values of a and b were:

          input_player1_a = "space"
          input_player1_b = "alt"
          

          I would add override lines in the nes retroarch.cfg to override the a and b input values like:

          input_player1_a = "alt"
          input_player1_b = "space"
          

          Since that's in the nes retroarch.cfg, that'll only swap those buttons when playing in a nes core.

          Cocktail Cab Project - https://retropie.org.uk/forum/topic/23763/cocktail-cab-project?_=1592408967951

          J 1 Reply Last reply Reply Quote 0
          • J
            jasonmadeapie @rbaker
            last edited by

            @rbaker

            Yep so the controller was initially configured on launch but you are also able to configure by the system in this case I wish to configure different mapping for NES than SNES.

            1 Reply Last reply Reply Quote 0
            • J
              jasonmadeapie @theissdev
              last edited by

              @theissdev

              Thanks! I will try this out. I was hoping there was something in the UI as it seemed to suggest it within the article I linked in my initial query but that is just not working for me.

              Thanks again.

              theissdevT mituM 2 Replies Last reply Reply Quote 0
              • theissdevT
                theissdev @jasonmadeapie
                last edited by

                @jasonmadeapie Saving configs in the ui was always hit and miss for me. Sometimes wouldn't save for w/e reason, so I've always done it this way. Can get a little squirrely if you're shifting a ton, but for 2-3 buttons, should be good. √

                Cocktail Cab Project - https://retropie.org.uk/forum/topic/23763/cocktail-cab-project?_=1592408967951

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

                  @jasonmadeapie How do you change the controls ? When you open the controls menu (for P1), you have on the left the button on your RetroPad (your controller) and on the right the emulated buttons. Use Left/Right to change the values on the right, cycling between the possible buttons that the system accepts. Go back in game and test the buttons, then once you're set, just save a Core or Content Remap from the Controls menu.

                  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.