• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

help with reset button on mega drive mk1 case

Scheduled Pinned Locked Moved Help and Support
reset buttonmega drivebuttons gpiogpio pingpio exit roms
5 Posts 3 Posters 473 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.
  • C
    cockneynutjob
    last edited by 5 Jun 2020, 17:17

    Hello,
    I know this has been answered as ive read a few other posts but im still not sure and was wondering if someone could tell me how to do it in a simple way, im not a noob with retropie/linux but this one has got me, so what i want to be able to do is connect a button to gpio pin 5 and 6, and when i press the button it quits out of the emulator im playing back to emulation station, now i know theres a script out there to do this can someone point me in the right direction and how to enter it in the retropie terminal, sorry to be a pain just need some help.
    Thank you all

    C 1 Reply Last reply 6 Jun 2020, 11:50 Reply Quote 0
    • C
      cockneynutjob @cockneynutjob
      last edited by 6 Jun 2020, 11:50

      @cockneynutjob anybody?

      C 1 Reply Last reply 7 Jun 2020, 19:42 Reply Quote 0
      • M
        mitu Global Moderator
        last edited by 7 Jun 2020, 15:12

        Try using @cyperghost's script from https://github.com/crcerror/ES-generic-shutdown, if you run it with the --closeemu parameter it will stop the current running emulator.

        1 Reply Last reply Reply Quote 1
        • C
          cyperghost @cockneynutjob
          last edited by 7 Jun 2020, 19:42

          @cockneynutjob Yes multi_switch.sh is very flexible. As default if you connect a switch to PIN 5 and 6 it'll powerdown the whole system but you can easily exchange behaviour with some code edit.

          1 Reply Last reply Reply Quote 0
          • C
            cockneynutjob
            last edited by 12 Jun 2020, 09:48

            Thank you very much to you both sorted

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              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.

              This community forum collects and processes your personal information.
              consent.not_received