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

    Controlblock button mapping keeps changing

    Scheduled Pinned Locked Moved ControlBlock, PowerBlock & Co.
    controlblockarcadecontrolsarcade controlsarcadebutton
    6 Posts 4 Posters 1.2k 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.
    • S
      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
      • mituM
        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.

        S 1 Reply Last reply Reply Quote 0
        • S
          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.

          P S 2 Replies Last reply Reply Quote 0
          • P
            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
            • S
              Sabaro @sIncION
              last edited by

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

              S 1 Reply Last reply Reply Quote 0
              • S
                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.