nullcast reblogged your post:SO FINALLY THE BARREL IS FINISHED. I suppose I...
Did you end up using the filesystem interfaces to run the GPIO or did you use some sort of kernel module. Â If you did not use a kernel module would one have made things easier, removing a translation layer for example? Â I ask because I made a GPIO kernel module on a Pi2 recently for a class so Iâm at least a little familiar with the APIs now. Â It wouldnât help you but it might help someone else doing integration in the future and it would give me something to do over the summer.
Iâve used two pre-built solutions to this. Iâm not exactly sure how they work, but Iâm going to guess theyâre not kernal modules from how I had to install them? Or one might be and the other one might not be.
Anyways this used a very simple GPIO to keyboard script that adafruit supplies. Reading the description of the project, it seems to simulate USB?
For my stand alone joystick, I used two solutions. The previous for functions like exiting games and this one for the actual controller. This one actually functions as a gamepad, which makes it behave nice between multiple emulators using retropie without any fiddling. For the barrel though, only having two buttons, keeping it simple seemed best.
anyways you can dig through these Iâm guessing to answer any questions you have.