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

    Exit emulator on no controller

    Scheduled Pinned Locked Moved Help and Support
    control configemulator configcontroller help
    7 Posts 2 Posters 1.6k 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.
    • F
      fcimeson
      last edited by

      Hello,

      I have an issue where my Bluetooth game-pad powers down on its own. When it does so, I can no longer control the game or exit the emulator (after I turn it back on).

      Is there a way to exit the emulator in the event of the controller being disconnected?

      Thanks

      meleuM 1 Reply Last reply Reply Quote 0
      • meleuM
        meleu @fcimeson
        last edited by

        @fcimeson Using a keyboard. Or connecting to your raspi through SSH and killing the emulator.

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        1 Reply Last reply Reply Quote 0
        • F
          fcimeson
          last edited by

          Thanks meleu, is there a way to automatically exit the emulator?

          meleuM 1 Reply Last reply Reply Quote 0
          • meleuM
            meleu @fcimeson
            last edited by

            @fcimeson I'm not sure what you mean with "automatically". Do you mean "exit the emulator without the user's consent."? If yes, I'm very happy that there's no such way. :-)

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 0
            • F
              fcimeson
              last edited by

              I mean exit the emulator automatically when the game-pad is disconnected. This would be a desirable feature to exit without consent in this scenario, since the user must go to extra measures to exit the emulator.

              meleuM 1 Reply Last reply Reply Quote 0
              • meleuM
                meleu @fcimeson
                last edited by meleu

                @fcimeson With some linux shell scripting knowledge you can make runcommand-onstart script do it for you.

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                F 1 Reply Last reply Reply Quote 0
                • F
                  fcimeson @meleu
                  last edited by

                  @meleu, thanks man. I'll look into it.

                  1 Reply Last reply Reply Quote 0
                  • 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.