• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 956 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 1 Nov 2020, 22:15

    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
    • M
      mitu Global Moderator
      last edited by 3 Nov 2020, 05:00

      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 5 Nov 2020, 06:35 Reply Quote 0
      • S
        sIncION @mitu
        last edited by 5 Nov 2020, 06:35

        @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 10 Nov 2020, 19:50 Reply Quote 0
        • P
          petrockblog Global Moderator @sIncION
          last edited by 10 Nov 2020, 19:50

          @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 16 Apr 2022, 16:54

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

            S 1 Reply Last reply 16 Apr 2022, 17:59 Reply Quote 0
            • S
              Sabaro @Sabaro
              last edited by 16 Apr 2022, 17:59

              @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.

                This community forum collects and processes your personal information.
                consent.not_received