Main > Raspberry Pi & Dev Board
Mapping two buttons to the same function?
mahuti:
Using Emulation Station you can't do what you want. You can't map 2 buttons to the same thing. Can't even hard code it in a config file and make it work. I have a love/hate relationship with Retropie/Retroarch because of this... I think its a terrible design decision that I've never understood. Retroarch and Retropie are targeted towards off the shelf gamepads, not cabinets. Its a very rigid, system compared to the mappability of MAME, and just doesn't allow mixing and duplicating controls.
If using MAME you can remap like you normally would As long as you have RA set to allow the use of the MAME config tab. This only works for specific versions of Libretro MAME by the way.
If using other emulators you are likely out of luck going the software route. Hardware would be a better way to go.
That said, I'd tend to go the hardware route for flipper buttons anyway.
PatentGeek:
Thank you, mahuti. That is disappointing but not surprising. I could still do a game-specific mapping though, right? To map only the pinball buttons to those functions?
mahuti:
FYI, you can try:
try editing the config file retroarch.cfg;
input_player1_a_btn = "1"
input_player1_b_btn = "1"
Something like that. You should also try it from the RetroArch menu:
Step 1. open the Retroarch menu within game
2: It'll open in the quick menu. Back out of that to the top level menu,
3. then go to settings > inputs > port 1 binds (that's player 1) and try to set the keys there.
4. then save by either:
4a. back out to the top menu and go down to configuration > save current configuration. this will save a file to /opt/retropie/configs/snes (or whatever)/retroarch.cfg
4b. back out to the top menu, go to the quick settings > overrides > save game overrides. this will save a file to /opt/retropie/configs/all/retroarch/config/EMULATORNAME/ROMNAME.cfg (or .opt or something like that)
In the past this hasn't worked for me, but who knows, maybe they've changed things. Let me know how it goes.
PatentGeek:
I’ll give that a try. Thanks again!
PL1:
--- Quote from: PatentGeek on January 04, 2021, 05:58:24 pm ---The controls and encoders are just a basic EG STARTS USB kit off Amazon.
--- End quote ---
That's a gamepad encoder.
There's no way to change the output for a given input port like you can with an IPac or other programmable encoder.
If you can't sucessfully edit the config file like Mahuti suggested it looks like the only remaining possibility is the hardware approach.
Scott
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version