Power switch Juyao Controller
-
Hi, I have a Raspberry pi 3 with retropie 4.0.2 on it and a Juyao controller for arcade buttons. I write because I would add a power off button to shutdown retropie. Internet is full of guides to do this thing connecting a button to GPIO and using a python script (like this one http://www.instructables.com/id/Physical-Shutdown-Button-For-Raspberry-Pi/) but my question is: is it possible to power off retropie using a button connected to my Juyao controller instead of GPIO? How can I insert the Juyao's pin number in the script?
Thank you for your answers.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.