Control mapping is driving me nuts!
-
First things first:
Pi Model or other hardware: Pi3 B
Power Supply used: Official
RetroPie Version Used: 4.3 (just downloaded about a week ago)
Built From: Pre made SD Image on RetroPie website
USB Devices connected: IPAC 2
Controller used: IPAC 2
Emulator: MAME 2003I'm building an arcade cabinet. 2 players, each one has a joystick and 6 buttons. The buttons are connected to an IPAC 2. My install is great, the buttons all function, and my ROMs work. I am not using a hotkey in Retroarch. I have it set to "nul" and I have special buttons installed for pause and exit, and I'm using the IPAC2 shift function for others that I may need. This seems to work just fine for the ones I coded.
I'm trying to configure Street Fighter II Champion Edition. I figure if I can get a game done that uses all 6 buttons, I can figure out the rest.
I have searched all over the forums for a couple of answers to problems I am having, and I can't find them.
First, there are a couple of buttons that appear to be mapped to some functions that I can't find. One key (the space key, happens to be my first player top right button) seems to put everything in fast forward mode. But I don't see that mapping in the retroarch.cfg file. Is that somewhere else?
Another button is the "k" button (one of the kick buttons for my player 2) seems to pause the game, and then advance it one frame at a time. That option also isn't in the retorarch.cfg file. Is there some other configuration file somewhere that I can search for these? I can just map those buttons to something else in the IPAC2, no problem, but I want to know where those other functions are assigned so I don't pick something else that will conflict.
Next, the order of my keys seems messed up in street fighter. The main question I have - should that button mapping happen in Retroarch, in a ROM-specific retroarch.cfg file, or should it be done through the MAME menu (that I get through "TAB" when I'm in a game)? Not sure where the MAME controls should actually be set.
This will get me moving, I think, if you have any suggestions! Thank you!
-
I think your problem is the ipac is a keyboard encoder and not a joystick encoder. Its possible mame has some functions assigned to some keyboard keys and your ipac is sending those commands.
-
@lostless Yes, that is exactly the problem. But where are the MAME settings for advancing one frame at a time, or for speeding up the game?
And should I set controls in the MAME menu, or in the retroarch menu (or directly in the retroarch.cfg file)?
-
@stevepax Have you tried pressing TAB while in game and then re-mapping the controls ?
-
@stevepax Hi, I have the same setup as you so I am hoping I can help.
There are two keys that I know of in MAME that could be doing what you suggest, "F10" which toggles throttle on and off, and "insert" which throttles when it is held down. As mitu suggests try pressing tab to get into MAME menu and check the Input (General) and see what the throttle key is assigned to.
Setting up the controls for Street Fighter 2 and other similar six buttons games took a little trial on error (as least it did for me!). If it helps I have my buttons set up like this:
Player one
Top row from left to right
LP - lctrl (P1 button 2)
MP - lalt (P1 button 3)
HP - space (P1 button 5)Bottom row from left to right
LK - lshift (P1 button 1)
MK - z (P1 button 4)
HK - x (P1 button 6)I set the keys up from within MAME using Input (this game).
Hope that helps
-
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.