• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.0k 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 3 Oct 2021, 08:51 10 Mar 2021, 08:49

    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

    M 1 Reply Last reply 10 Mar 2021, 13:22 Reply Quote 0
    • M
      maschine @steptoe
      last edited by maschine 3 Oct 2021, 13:24 10 Mar 2021, 13:22

      @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
      • M
        maschine @mahoneyt944
        last edited by 10 Mar 2021, 13:23

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

        M 1 Reply Last reply 10 Mar 2021, 14:27 Reply Quote 0
        • M
          mitu Global Moderator @maschine
          last edited by 10 Mar 2021, 14:27

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

          M 1 Reply Last reply 10 Mar 2021, 14:37 Reply Quote 0
          • M
            maschine @mitu
            last edited by 10 Mar 2021, 14:37

            @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
            • M
              mitu Global Moderator
              last edited by 10 Mar 2021, 14:40

              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.

              M 1 Reply Last reply 10 Mar 2021, 16:25 Reply Quote 0
              • M
                maschine @mitu
                last edited by maschine 3 Oct 2021, 16:36 10 Mar 2021, 16:25

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

                M 1 Reply Last reply 10 Mar 2021, 18:07 Reply Quote 0
                • M
                  mitu Global Moderator @maschine
                  last edited by 10 Mar 2021, 18:07

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

                  M 1 Reply Last reply 10 Mar 2021, 18:52 Reply Quote 0
                  • M
                    maschine @mitu
                    last edited by 10 Mar 2021, 18:52

                    @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
                    • M
                      maschine
                      last edited by maschine 3 Nov 2021, 09:37 11 Mar 2021, 09:31

                      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
                      14 out of 14
                      • First post
                        14/14
                        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