I have just pushed an update for the ControlBlock driver. You can now connect a button to P2, "A": Pressing that button will lead to a simulated press of Start + B, as well as a keyboard button press of "F1".
@retroprogrammer No problem. The switch issue on Raspberry Pi is a need for everyone, not just RetroPie users. So, you can google the idea and find all kinds of examples of people using a simple momentary switch to short a GPIO pin to ground with examples of their custom scripts to monitor for that event. In most cases, examples in include a shutdown command, and that would be enough to do a soft shutdown or reboot. However, it is this command that you could replace with something more retropie-specific found in the threads here.
@sphirst I dunno. I don't know python, but it is not like you will break anything trying it.
I just thought you should know that there are several discussions active right now on the topic of shutdown scripts. Most of my work recently has been related to the Mausberry circuit, a little PCB that goes on the USB port and hooks into GPIO to trigger safe shutdown. You can do something similar without the circuit, but the Mausberry adds the ability to truly cut power.
I did not look at the video you linked above, but you might also find a little software package called GPIOnext interesting. This is the evolution of GPIOneer, a GPIO button handler/driver created by mholgatem. I use GPIOneer, but I will be replacing/upgrading. My buttons that use it include volume control as well as safe shutdown.
Can somegive tell me which PINs to use from the original SNES Reset button, so I can solder 2 wires and connect one to GPIO17 and the other one to GND of the Raspberry?
I don't know which one is which one and am unsure if the picture is correct or not.
@ortsac hate to hijack this, do you have pictures of your completed project? You may have built exactly what I need to build myself for the misses. I am looking to also emplace a Pi3 into an authentic NES console, for use just for NES and SNES emulation. I would like to bounce some ideas of you if possible as well as get some feedback/guidance of any issues you may have ran across.