I’ve been outlining a RetroPie DMG Gameboy build, and doing quite a bit of research. I’m planning on hard-wiring a dedicated menu button on the side, and a slide SPST switch to turn the power supply on and off.
I had an idea to dual-purpose the dedicated menu button to also be a soft shutdown after being held for several seconds. I would make a script that does just that, but I’m still very green to coding. The goal is to make the button act like the buttons on modern devices like cell phones. I realize that soft shutdowns are accessible through the menu, but I think something like this could make a system more user friendly. I also see how this would be a huge problem for some setups, and would probably be a feature that would be off by default.