Main > Raspberry Pi & Dev Board
Mapping two buttons to the same function?
PatentGeek:
I'm running RetroPie and my cabinet has pinball buttons on the sides, in addition to the usual joystick and 6-button layout. I want to use the pinball buttons for pinball games, obviously, but those games usually operate the flippers using Left-D and A. Is there any way I can also map the side pinball buttons to perform those same functions?
PL1:
--- Quote from: PatentGeek on January 04, 2021, 01:17:54 pm ---I'm running RetroPie and my cabinet has pinball buttons on the sides, in addition to the usual joystick and 6-button layout. I want to use the pinball buttons for pinball games, obviously, but those games usually operate the flippers using Left-D and A. Is there any way I can also map the side pinball buttons to perform those same functions?
--- End quote ---
1. Make a list of the pinball games/tables/emulators you want to play.
2. Check what inputs they are looking for and whether they can all be mapped to the same controls.
Depending on what type of encoder, wiring, and microswitches you are using, there are several possible approaches.
Hardware approach:
Wire the two pinball buttons in parallel with the two desired MAME inputs or if "MAME Button" has a 3-tab microswitch you can use the "backwards wiring" trick used on "MAME Button" and "Pinball Button" in this Visual Pinball diagram.
Advantage: Works with any encoder.
Disadvantage: The pinball buttons are tied to those two inputs. Any pinball game/table/emulator you want to run must be configured to use those inputs.
Software approach:
Wire the pinball buttons to two unused encoder inputs.
Advantage: Allows you to set those inputs to work with pinball games/tables/emulators that can't be reconfigured, if you run into that problem.
Disadvantage: Only works right with encoders that can be programmed to work with the pinball games/tables/emulators that can't be reconfigured.
Scott
PatentGeek:
Well, I definitely want to go the software route -- I don't want to lose the ability to remap those buttons. But that's what I'm trying to get a bit more information about. When running RetroPie with Emulation Station, how do I map the side buttons to perform the same functions as the Left-D and A, respectively? The controller configuration wizard only lets you assign a single button per function.
PL1:
I'm not the best one to answer your question so I'll ask for two (hopefully useful) clarifications and allow someone with more knowledge of RetroPie and Emulation Station to take it from there.
--- Quote from: PL1 on January 04, 2021, 03:03:16 pm ---1. Make a list of the pinball games/tables/emulators you want to play.
--- End quote ---
We don't know this info so it's harder to give you relevant advice.
It might be helpful to be more specific about the systems and games you're interested in.
i.e. I want to play Pinball (NES), Devil Crush/Jaki Crush (SNES), Dragon's Fury (Megadrive) . . .
--- Quote from: PL1 on January 04, 2021, 03:03:16 pm ---Depending on what type of encoder, wiring, and microswitches you are using
--- End quote ---
We don't know these details so we can't give relevant advice.
Scott
PatentGeek:
Sorry, happy to provide more details. As one example, I’d like to play Pinball Dreams on SNES. The controls and encoders are just a basic EG STARTS USB kit off Amazon.
Navigation
[0] Message Index
[#] Next page
Go to full version