Edit the driver configuration:
– Connect a keyboard
– Exit to Emulation Station with F4 or via menu
– type: sudo nano /etc/modprobe.d/mk_arcade_joystick_rpi.conf and then ENTER
– modify the line inside to: options mk_arcade_joystick_rpi map=5 gpio=2,3,4,17,9,10,22,27,11,24,23,25
– exit saving changes by pressing CTRL+X on the keyboard, then press Y and then ENTER