Posts: 425
Joined: Sun Nov 30, 2014 4:51 am

How can I set up gpio buttons for save/load/reset retropie?

Wed Mar 30, 2016 9:33 am

I have pulled my hair out (okay not literally ;) ) trying to figure out a way that I can set 4 gpio buttons to do some simple functions for retro pie. I what one to exit game, one to save state, one to load state, and one to reset game. I am using the adafruit 2.8" tft display for my project and scince it is a pain to get the screen work I am using adafruits pigrrl img (which works with the screen).
I would like to use the four buttons that are attached to the screen for the functions I mentioned. I believe the gpio button numbers are 23, 22, 21/27, 18. I am using a rpi 1 b+ for this project. I would appreciate any help I can get. Thank you for your time,

Return to “Gaming”