Im trying to wring as much performance out of my TinyPi project which is running Pico-8 https://twitter.com/Pi0CKET
and i notice WiringPi is actually built into the RaspberyPi build. Looking at the documentation, the only mention i can find about it, is for allowing a cartridge to access the GPIO to flash lights etc, which is pretty kool!!
Is there any ability to use WiringPi to use the GPIO as input? This would mean that i could remove another external process (adafruit retrogame) and mean faster running (hopefully) :)
There isn't currently a way to remap gpio states as button input automatically, but you can do it by adding code to PEEK() the GPIO addresses and treat them as input. Here's someone else doing it:
Perhaps a -gpio_buttons switch would be in order for such projects.
Log in to post a comment