Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: johnnybleu on January 03, 2009, 10:52:34 am
-
Alright, I realize the title might be a bit obscure, or sound slightly stupid (and I'm sorry if this has been covered before- I tried to find an answer for about 30 minutes) but here goes.
What I'm trying to do is have Mame quit a game and go back to the FE without having to press esc. Ideally, I'd like to have it mapped to something like "P1 START + P1 BUTTON 1". I tried to do this via the "Tab" menu, with less than great results. You can set multiple keys to a single command, I know, but not simultaneous presses. I tried to find a Mame .cfg file where all this info would be found, and thus changed, but I don't know where it could be. I'm running mameuifx32.
How did you guys set up Mame that you can quit a game using the standard CP buttons (and preferably without an encoder and shift function)?
Many thanks!
-
You can edit cfg\default.cfg to do that. For example the following will mean you have to press the Left Shift + Escape to exit.
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
<system name="default">
<input>
<port type="UI_CANCEL">
<newseq type="standard">
KEYCODE_LSHIFT KEYCODE_ESC
</newseq>
</port>
</input>
</system>
</mameconfig>
-
THANK YOU!!!!
I really feel like an idiot now... It's so simple, but if you don't know it's through the default.cfg, you'll never find out. O_o
Again, thank you- you're turning out to be a BIG help! :notworthy: