advmame support for hotkey for emulator exit
-
Does advmame support hotkeys? I'm specifically looking for a way to remap emulator exit from "escape" to "1+5" (which I have mapped to Player1 Start+Coin) consistent w/ lr-mame2003. Using in game menu, I am able to find "UI Cancel" but don't know how to map it to two keys vs one.
Running: retropie 4.2 and installed advmame from source.
Help greatly appreciated.
-
@zmanz It doesn't support the hotkeys you might have setup for retroarch emulators, but there is definitely a way to map the EXIT command to two buttons. You need to open up the MAME GUI menu (TAB) and edit the Inputs (General) then scroll down to UI Cancel which is usually mapped to Esc. Hit enter on this item, then press your two buttons at the same time. Wait a moment, and it should register a "1 5" for that function.
What you are doing is called a <CODE AND> boolean key map by pressing both buttons at the same time you are telling MAME you want the function to trigger only when both are pressed. If you don't move to another function, you can map another key, say for example that you want to also keep ESC mapped, you can add that one right after. If you move away to another mapping function and come back, it will be replaced.
You can do some pretty nifty stuff with <CODE AND> mapping as well as <CODE NOT> mapping (in which you double-tap a button to exclude it). With AND and OR and NOT combinations, it is possible to make a single joystick move a tank that would normally require two tank sticks.
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.