cd mk_arcade_joystick_rpi-master/
export MKVERSION=0.1.5
sudo -E dkms uninstall -m mk_arcade_joystick_rpi -v 0.1.5
sudo rm -rf /usr/src/mk_arcade_joystick_rpi-0.1.5/
vi mk_arcade_joystick_rpi.c (修改其他的gpio管脚)
sudo mkdir /usr/src/mk_arcade_joystick_rpi-0.1.5/
sudo cp -a * /usr/src/mk_arcade_joystick_rpi-0.1.5/
sudo -E dkms build -m mk_arcade_joystick_rpi -v 0.1.5
sudo -E dkms install -m mk_arcade_joystick_rpi -v 0.1.5
重新启动
完成