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

    Previous controller config lost when second is configured

    Scheduled Pinned Locked Moved Help and Support
    configurationcontroller
    6 Posts 3 Posters 602 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.
    • E
      Edward_CI
      last edited by

      I have an odd issue.
      RetroPi 4.7.1 running on a new Raspberry Pi 4

      We have setup our system with two Reyann Easyget encoder/button driver boards with generic buttons & joysticks (one for each of the two players). On each board is connected/configured 8 buttons plus the joystick. These boards connect back to the Pi via USB.

      On boot the system detects the controllers fine. We walk through the button configuration of one joystick and it works great. Go and do the same for the second and the second works great but the first no longer works (buttons are all messed up). Reconfigure the first and then the second gets messed up.

      Is there some dependence between the two that prevents them from being programmed separately?

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

        @edward_ci said in Previous controller config lost when second is configured:

        Is there some dependence between the two that prevents them from being programmed separately?

        Kind of. Controller configuration is tied to its name - configuring one of the controllers will generate a configuration that will apply to the other also. You should be able to configure just one of them and both should work.

        What happens is that you're most likely wired the controller inputs differently for each player so that - for instance - Button A on P1 is producing a different input code than Button A for P2. Make sure you wire both players identically and then you should be able to have the same configuration apply correctly.

        E 1 Reply Last reply Reply Quote 1
        • E
          Edward_CI @mitu
          last edited by

          @mitu should we match the exact pin layout for the buttons on each board? For instance, button one for each player plugged into the top left most slot on each board OR do we mirror the positions? I believe I read somewhere that the physical connections were mirrored but that was when using a single board...

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

            @edward_ci said in Previous controller config lost when second is configured:

            should we match the exact pin layout for the buttons on each board?

            Yes. They must be wired exactly the same.

            This should be stickied. Also:

            PSX and N64 roms need to be unzipped before you can use them.

            And Super Metroid has a "run" button.

            E 1 Reply Last reply Reply Quote 0
            • E
              Edward_CI @sleve_mcdichael
              last edited by

              @sleve_mcdichael So, matched, NOT mirrored?

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

                @edward_ci that's how I understand it, yeah. As far as the emulator is concerned, it's just another USB gamepad. If the two gamepads have identical device names/IDs, then they'll use the same config file. So whatever mapping like button_12 = "A" or whatever is set in the config file, will be the same for both gamepads. If "button 12" is whatever button is wired in position "6F" on the board or whatever, and you have that wired to a different physical button, then your "A" button will be that different physical button. They need to be exactly the same.

                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.