User could also just set these controls to two button combos sent from the 1st player controller on my arcade machine coin and start together is tab coin and one of the buttons on my front panel exit coin and 5 is save coin and 6 is load so on a controller you would just replace coin with select and do the same thing. To map combos in MAME just press both buttons simultaneously while it is waiting for you to enter input. This way you can still use XInput you don't have to mess with AHK at all and control things all from the 1st player.