Remember Me
I’ve only used AdvanceMAME a bit, but its seems quite happy to map inputs using the GUI when it runs (via TAB). Have you tried that?