RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    advmame support for hotkey for emulator exit

    Scheduled Pinned Locked Moved Help and Support
    advmamehotkeyexit
    2 Posts 2 Posters 3.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zmanz
      last edited by

      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.

      caver01C 1 Reply Last reply Reply Quote 0
      • caver01C
        caver01 @zmanz
        last edited by caver01

        @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.

        My 4-player cocktail style cabinet built as a custom "roadcase"

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        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.