@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.