ABXY buttons unresponsive
#2
For config stuff, you can take a look at https://github.com/TheFlav/mk_arcade_joystick_rpi

The button driver uses the /etc/modprobe.d/mk_arcade_joystick.conf file.

If you look at the README.md there, you will see a bunch of stuff for installing, calibrating, and testing. If you're using the default buttons and the SD image from Freeplay, then you probably only care about the testing part.

If you can SSH into the machine, then I'd recommend using this to test the joystick device's inputs.
jstest /dev/input/js0

The buttons all use GPIO pins, so you can also test that directly using this command. I _THINK_ it should be available on that SD image.
gpio readall

It will just print the current state of all GPIO. So, run it once and make a note. Then, hold a button while running it again. Maybe even post a copy/paste of that here.

We've seen all sorts of odd problems. One similar (and odd) problem that comes to mind turned out to be a tiny piece (don't recall if it was solder or a wire clipping) that was bridging a couple traces to make the buttons not register.

You should also be able to ring out the traces on the A, B, X, Y buttons back to the Pi header. If you use that same document, you can use your volt meter's continuity tester to see if the button's pad properly routes all the way back to the Pi. If all 4 are not working, then I'd wonder if it's the ground line that's bad.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply


Messages In This Thread
ABXY buttons unresponsive - by StonyYodelers - 07-07-2021, 03:05 AM
RE: ABXY buttons unresponsive - by Flavor - 07-07-2021, 03:38 AM
RE: ABXY buttons unresponsive - by StonyYodelers - 07-07-2021, 04:07 AM
RE: ABXY buttons unresponsive - by StonyYodelers - 07-07-2021, 04:09 AM
RE: ABXY buttons unresponsive - by Flavor - 07-08-2021, 02:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)