Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: a_netanel on April 09, 2019, 10:00:39 am

Title: How to configure advanced button combination in MAME?
Post by: a_netanel on April 09, 2019, 10:00:39 am
How do I set "advanced" button combination in MAME UI? I kinda know how to do it only from the cfg file.
By "advanced" I mean a combination of buttons that exclude another button, for example:
Code: [Select]
<port type="UI_PAUSE">
<newseq type="standard">
JOYCODE_1_BUTTON8 JOYCODE_1_BUTTON10
</newseq>
</port>
<port type="UI_CANCEL">
<newseq type="standard">
JOYCODE_1_BUTTON10 NOT JOYCODE_1_BUTTON8 OR KEYCODE_ESC
</newseq>
</port>
So I can pause with two buttons without triggering a UI_CANCEL.

I'm sure I once read a tutorial that explained it but I'm unable to find it, and mame docs are... not very good...