You can hardwire this fairly easily. Mame is written such that I can't see how you could map it, though.
To hardwire, send power or ground (either the red or the black wire) for the X axis (between the sensor board and the encoder) through NC (normally closed) in the button switch. When you push the button, the circuit opens and no power goes to the sensors.