Steps for debugging hardware:
- drop to terminal from ES by hitting F4 (you will need a keyboard!)
- install wiringpi for the
gpioutility:sudo apt install wiringpi - run
watch -n 0.1 gpio readallto watch your GPIO status - hit some buttons, twiddle the joystick (slowly, 0.1 is a tenth of a second so any action <0.1s may not be visible) and see if anything changes
It’s possible that the dtoverlay/drivers/etc for the controls aren’t loading properly, to debug the software:
- Make sure
/boot/overlays/picade.dtboexists - Make sure
dtoverlay=picadeis in/boot/config.txt - Check
dmesgoutput for any glaring errors - Check that
/etc/udev/rules.d/10-picade.rulesexists