Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • matthew
    Participant
    Post count: 18

    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.

    matthew
    Participant
    Post count: 18

    halt script. i want to push the button and send the halt command and shut down the system nomatter what it is doing.

    petrockblog
    Keymaster
    Post count: 1827

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.