@F4CEpa1m looks good :) unfortunately retroarch haven't really defined the "official" arcade layout for their cores.
for mame2003 we used your layout
Y X L
B A R
but following a looong discussion with libretro devs, we decided that this layout was probably a better standard to reflect how "modern" (since the late 90s) fighting games have used fight sticks, etc.
Y X R1
B A R2
although really you need both layouts so that 6 button arcade setups can play 6 button consoles (SNES).
so the bottom line is, either layout should be an option in a established cores. i know they are in FBA/N... no idea about the various mame cores.
I'm not sure if it's possible to remove a help option, but you can set a blank (transparent) image for the last/first slot of the help buttons row and then shuffle the other buttons left (or right).
You can also remove the mapping for the button from the /home/pi/.emulationstation/es_input.cfg file - make sure you back it up first, just in case editing it goes awry.
@mitu Thanks for replying. My gamepads mirror each other, and have the same number of buttons installed and mapped to the same keys. I'm aware that the gamepads won't work correctly if there are any differences at all. In fact, I had to add two extra buttons to the player 2 USB encoder in order to make it mirror the player 1 USB encoder precisely. Initially, we had installed two extra joypad 1 buttons to serve as a hotkey/escape and as a pause button, but they wouldn't work without identical buttons set up in joypad 2. The joypad 2 buttons are actually inside of the cabinet, because there are no holes for them on the control panel. I've already used jstest many times, too. So, I can promise that the two joypads are configured identically, and I haven't set up any player 1 buttons in the 800/5200 emulator that map differently from player 2. I know better.
I really do think the problem is that the Atari 5200 emulator isn't yet set up to recognize multiple fire buttons for player 2. I found a discussion on this forum from May 2016 entitled "Atari 5200: New version of Atari800 (Beta): two triggers (Moon Patrol), hat start and exit buttons" where user jfroco discussed a new port of Atari800 that added trigger1, trigger2, asterisk and hash support for joystick buttons, but only for player 1. A later post from user Veramacor (April 2017) detailing atari800.cfg settings also reflected trigger1 and trigger2 support on Joystick 0, but not Joystick 1. Then, in May 2017 user Used2BeRX asked user future.child if they would be able to properly code the player 2 controller to allow two-player games. It's not clear from the subsequent conversation that this ever got done in the way I'm discussing here.
I'm guessing from this discussion and my experiences this weekend that the Atari800 emulator must still be in that same developmental place, because when I tested the 5200 Moon Patrol ROM (I do own an original cartridge), sure enough, player 1 could use the second trigger (button X on my arcade cabinet config), but not player 2. The X button did nothing for player 2. Again, I'm not having this problem in any of the other emulators I'm using with Retroarch (MAME2003, MAME 2003-Plus, Final Burn Alpha, MAME2010, Stella, CoolCV, or the NES and SNES emulators). On those emulators, all buttons work the same for both gamepads. There are no discrepancies.
However, if someone can verify that they are able to use both fire buttons for both player 1 and player 2 in Atari 5200 Moon Patrol (one to fire, one to jump), RealSports Football, etc., I will be more than happy to try to get it working for Player 2 in Retropie. I just haven't seen anyone confirm that there is trigger1, trigger2, * and # support for Player 2 in the 5200 emulator. The only evidence I've found is that there isn't such support, and I don't want to spend days futilely trying to set up something that isn't actually supported. In fact, a post from three months ago said that the controller upgrades future.child made from 2016-18 aren't part of the current libretro version of atari800. (That thread also suggested that RealSports Football is viewed as a lost cause because of its need for keypad input.) Maybe the best way to ask this question is, does Moon Patrol work properly for player 2 on the 5200? Can you jump and fire?
Pi Model or other hardware: (B, B+, 2 B, 3, X86 PC etc..) 3 Model B+
Power Supply used: (If using a Pi) Samsung genuine adapter, 2A
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.3
Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used) Pre made SD Image on RetroPie website, but i can't remember which one
USB Devices connected: 2
Controller used: DragonRise Inc. Generic USB Joystick
Error messages received: -
Log found in /dev/shm/runcommand.log (if relevant): -
Guide used: (Mention if you followed a guide)
File: (File with issue - with FULL path): -
Emulator: (Name of emulator - if applicable): can't say, because i can't get into emulator options (nothing happens if i press any button during game load)
Attachment of config files:
After replacing a 1A charger with a 2A one and giving the setup a one day rest, 7 out of 9 buttons work now, instead of 1. Top left button still does nothing, as well as the hotkey button.
In the weekend i will try a clean install of the latest retropie image and keep this post updated.
The 'Auto Config Buttons' dialog allows selection of single keys for each of the control functions, then, right at the end, it asks for the 'hot key' button. Without a 'hot key' assignment the control buttons work on their own. If you hold a key down for more than 2 seconds while at any selection (including for 'hot key') the dialog will assign 'nul' as the button.
If you don't have very many buttons/inputs then the use of a 'hot key' + 'game button' is the only way to control Retropie. This also is the mode you will have to use if you use genuine console pads which do not have any control buttons, just game action buttons.
If you do have spare buttons/inputs then assign the control functions to unique buttons and set the 'hot key' to nul. This can be done by running the config buttons dialog manually with - 'Settings -> Inputs -> User 1 Binds -> User 1 Bind Default All' or by manually editing the file it creates at '/opt/retropie/configs/all/retroarch.cfg'
I'm also new to this and awaiting the delivery of extra hardware to experiment with how to add an extra Zero Config board that is used exclusively for the control buttons. (Maybe configure it as Player 5? does anyone know how to do this?)