RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    How To Setup Reset Button For Retropie

    Scheduled Pinned Locked Moved Help and Support
    setupbutttonretropieresetreset button
    8 Posts 3 Posters 5.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • retroprogrammerR
      retroprogrammer
      last edited by

      Hey guys, does any one know how to setup a reset button, that backs you out of a emulator, I am not the best with python :-)

      Here is me converting the original Xbox for a case:
      https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
      Check out my GitHub: https://github.com/retro-programmer

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @retroprogrammer
        last edited by mitu

        Look in the pinned Useful topics thread, there are a few variations for shutdown scripts, and some of them have a code block that stop the currently running emulator.

        1 Reply Last reply Reply Quote 0
        • retroprogrammerR
          retroprogrammer
          last edited by

          @mitu okay thanks for like the quickest reply

          Here is me converting the original Xbox for a case:
          https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
          Check out my GitHub: https://github.com/retro-programmer

          1 Reply Last reply Reply Quote 0
          • retroprogrammerR
            retroprogrammer
            last edited by

            @mitu Which one is it, I am making this for my other topic here:
            https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/6

            Here is me converting the original Xbox for a case:
            https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
            Check out my GitHub: https://github.com/retro-programmer

            1 Reply Last reply Reply Quote 0
            • retroprogrammerR
              retroprogrammer
              last edited by

              @mitu which one is the link to setup reset button for Retropie?

              Here is me converting the original Xbox for a case:
              https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
              Check out my GitHub: https://github.com/retro-programmer

              caver01C 1 Reply Last reply Reply Quote 0
              • caver01C
                caver01 @retroprogrammer
                last edited by

                @retroprogrammer I think @mitu was referring to the threads describing the use of Powerblock and Mausberry Cirucits. These are complete power switch hardware solutions, but the software configuration insights are applicable. Basically, you could setup a switch on a GPIO pin that would trigger a soft shutdown command. The Mausberry thread goes to great lengths to improve the shutdown by gracefully exiting emulators and saving ES metadata.

                To get a switch working on GPIO, I would take a look at mholgatem's GPIOnext software on Github. This solution is aimed at using GPIO for arcade controls, but I have used his software to trigger shutdown commands, volume up and down commands.

                My 4-player cocktail style cabinet built as a custom "roadcase"

                1 Reply Last reply Reply Quote 0
                • retroprogrammerR
                  retroprogrammer
                  last edited by

                  @mitu @caver01 thanks to both of you

                  Here is me converting the original Xbox for a case:
                  https://retropie.org.uk/forum/topic/15232/converting-original-xbox-into-case-for-raspberrypi/15
                  Check out my GitHub: https://github.com/retro-programmer

                  caver01C 1 Reply Last reply Reply Quote 0
                  • caver01C
                    caver01 @retroprogrammer
                    last edited by

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

                    My 4-player cocktail style cabinet built as a custom "roadcase"

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post

                    Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                    Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.