X-arcade is like the ching-fu of arcades. Open up a text editor and see if the encoder is a joystick or keyboard encoder. If keyboard, take note of which controls correspond with which keys. I am not sure if x-arcade has a program to remap the firmware. Could it be mapped to mame default keys, just they swapped 1p and 2p wiring inputs?