Freeplaytech Forum

Full Version: My build (now with secondary shoulder buttons!)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Initial build:

Later post with L2/R2 shoulder buttons:

Shoulder button Thing:

The thing has been updated to include a deeper shield for the outside (the version pictured lets you see into the case).
Incidentally, I'm presently trying to modify mk_arcade_joystick_rpi to support the extra buttons. I can see them working using `watch -n 0.125 -- gpio readall` (pins 41 & 43), but I'm having trouble getting the rebuilt JS to work without breaking the hotkey button.

Perhaps someone can take a look and tell me what I'm doing wrong...
I’ll try to make some time to make a mod like that soon to the joystick code.
So, how are you editing/building that code?

Did you edit it and then
dkms build
dkms install

You would probably want to increment the version number in the dkms.conf file (and also /usr/src/mk_arcade_joystick_rpi- directory name) before doing the mods.

Then, after installing it, you could reboot (or modprobe remove/install) and then run
jstest /dev/input/js0

That's the best way to test your code, I think.

Also, what do you have in /etc/modprobe.d/mk_arcade_joystick.conf