RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs

    Controlblock button mapping keeps changing

    ControlBlock, PowerBlock & Co.
    controlblock arcadecontrols arcade controls arcadebutton
    4
    6
    316
    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.
    • sIncION
      sIncION last edited by

      Hi all,
      So I have a pie4 with a newest revision controlblock and I'm running into issues with the button mapping changing itself.
      Ex.
      Player 1 will work perfectly fine but player 2 will read left as button 5 and button 5 as left. Then on next reboot without changing any wiring player 2 will work perfectly but player 1 will have left and button 5 swapped. I havnt run into issues with any of the other buttons it's just button 5 and left joystick on player 1 and 2 keep swapping randomly.

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

        We've had this kind of issues when there are 2 identical controllers (same model), but they're wired differently. Since they're identical, they share the same configuration, so configuring one will also configure the other, overwriting the first configuration.

        Can you test with jstest /dev/input/js0 and jstest /dev/input/js1 and see if the gamepad buttons behave similarly ? Button X on P1 should produce the same code as Button X on P2, left on P1 should produce the same code as left on P2, etc.

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

          @mitu
          I just got a chance to test this today. I have triple confirmed that all the wires are connected exactly the same. But when I push button 5 on player 2 I get left joystick player 2 and I when I push left it shows up as button 5. Player 1 showed up correctly.

          petrockblog Sabaro 2 Replies Last reply Reply Quote 0
          • petrockblog
            petrockblog Global Moderator @sIncION last edited by

            @sincion What controller type have you connected?
            Do you have other peripherals connected to the RPi?

            1 Reply Last reply Reply Quote 0
            • Sabaro
              Sabaro @sIncION last edited by

              @sIncION have re solved? I've the same problem

              Sabaro 1 Reply Last reply Reply Quote 0
              • Sabaro
                Sabaro @Sabaro last edited by

                @Sabaro my problem.... I set the cable wrong
                1 2 3 4. 4321.

                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.