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

    Help with Bartop Button Mapping, Coin Button

    Scheduled Pinned Locked Moved Help and Support
    bartopbuttoncoinmapping
    14 Posts 4 Posters 4.1k 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
      steptoe
      last edited by steptoe

      Assuming LR-MAME2016 uses the same configs as MAME as its compiled for the PI it should be exactly the same, then you need to change the controller configs for MAME itself

      You'll need a keyboard attached to your PI, start any game and press the TAB key in any game you've loaded, then choose "Input General" from then drop-down list that should appear and this should show the player list

      Choose "Player 1" or "Player 2" and then scroll down the next huge drop-down list of ALL controls and button assignments for that player. In this list is the coin button, which for "Player 1" defaults to the "5" button and "Player 2" the "6" button. click on this and choose the button you now want

      You will have to leave this drop-down-list and then choose "Player 2" and change that coin button. I'm not sure if you can change the coin button to one button for BOTH players as my set-up is per player coin

      This changes the defaults for all systems and should now do what you want. Configs are automatically saved when you quit the menus, unless you choose cancel

      maschineM 1 Reply Last reply Reply Quote 0
      • maschineM
        maschine @steptoe
        last edited by maschine

        @steptoe Thank you for your detailed advise. Actually, I have already tried to map the coin button this way, but without success. For some reason, the emulator does not recognize a button, when it is configured as left/right thumb in the ES controller setup. I have now re-configured this button as left trigger and I can now assign it to coin in the MAME menu.

        1 Reply Last reply Reply Quote 0
        • maschineM
          maschine @mahoneyt944
          last edited by

          @mahoneyt944 Sure that would work. But it would be a pity not using this beautiful button on this cab. ;)

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

            @maschine You can map the button to Select - in additional to the one you already have.

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

              @mitu Oh really, that would be fantastic! I thought ES controller config only allows for single mappings. I will give that a try.

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

                Well, yes, but you may be able to use RetroArch to add a new button with the same mapping. If that fails, you can add it to the controller's configuration file.

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

                  @mitu Thank you, I have checked it out. Also the retroarch GUI does not allow for double mappings. There are quite some controller configuration files. Which one do I have to edit? Or maybe hard wiring two buttons to the same port is the better option for novices like me. :)

                  Question in short: How do I map two different physical buttons to a single function?

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

                    @maschine You could do that with un-used button on the RetroPad to your button (for instance L3) and then you can map it to Coin 1.

                    17a2c890-6f97-4ad4-959b-d9341473ace2-image.png

                    But I think you already have the L3/R3 buttons assigned, so that won't work.

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

                      @mitu Why not going for this solution. I can leave L3/R3 unconfigured. That should do the trick. Thanks.

                      1 Reply Last reply Reply Quote 0
                      • maschineM
                        maschine
                        last edited by maschine

                        Just a quick update, and maybe a helpful suggestion for others.

                        I ended up hard-wiring button pairs in parallel and attaching them to the same port :

                        Controller 1 (numbering according to the above diagram)
                        J1_8 and J1_5 => left shoulder
                        J1_9 and J1_4 => right shoulder
                        J1_7 and J_11 => select
                        J1_6 and J1_10 => start

                        Controller 2
                        J2_6 and J2_8 => select

                        Thanks to everybody for help!

                        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.