I was looking online a while back and i thought i remember seeing something like a way to wire a button that when pressed runs a shutdown script. i have tha reset switch figured out that was simple. im also looking for how to wire an LED power indicator. One i get this figured out my build will be complete.
SNESDev (https://github.com/petrockblog/SNESDev-RPi) implements a virtual keyboard that executes the shutdown command when pressing the button of the RetroPie GPIO Adapter five times. Maybe you want to have a look at the sources of SNESDev.
Necessary and Functional
These cookies are placed to make it possible to analyze this website (with Google Analytics) and optimize for the purpose of a.o. the usability.
Cookie names: _ga, _gat, _gid
These cookies are placed to show advertisements (of Google AdSense) and to get these close to your interest.
Cookie names: id, IDE, FLC, DSID, SNID, NID
These cookies are required to show the cookie notification bar, remember your cookie acceptance choice and apply this choice.
Cookie names: privacy_embeds, wpca_consent, woocommerce_cart_hash, woocommerce_items_in_cart, wp_woocommerce_session_, wp-settings-1, wp-settings-time-1