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

    non-libretro emulator for 4.8 rpi4

    Scheduled Pinned Locked Moved Help and Support
    4.8 rpi4
    28 Posts 5 Posters 2.9k 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.
    • mituM
      mitu Global Moderator @sshht
      last edited by

      @sshht said in non-libretro emulator for 4.8 rpi4:

      I bet if I disconnect the gamepads I could exit the game with 'esc' key on keyboard (or IPAC since that's mapped to esc).

      Have you tried that ? Disconnecting the gamepads will ensure no hotkey gets set in any input profile.

      S 1 Reply Last reply Reply Quote 0
      • S
        sshht @mitu
        last edited by

        @mitu

        Yes, when I disconnect the gamepads, then i can use ESC to get the arcade game.

        So when I use LR-mame2003 or any LR based emulator with my gamepads connected I can't use the 'esc' key to exit an arcade game.
        It's like I need to disable the gamepads and hot key when loading libretro emulators in arcade.

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

          @sshht said in non-libretro emulator for 4.8 rpi4:

          It's like I need to disable the gamepads and hot key when loading libretro emulators in arcade.

          If you're sure you won't be using any gamepad for the Arcade games, you can try disabling the gamepads by adding to retroarch.cfg (for the arcade system):

          input_player1_joypad_index=nul
          input_player2_joypad_index=nul
          input_player3_joypad_index=nul
          input_player4_joypad_index=nul
          
          S 1 Reply Last reply Reply Quote 0
          • S
            sshht @mitu
            last edited by

            @mitu said in non-libretro emulator for 4.8 rpi4:

            input_player1_joypad_index=nul
            input_player2_joypad_index=nul
            input_player3_joypad_index=nul
            input_player4_joypad_index=nul

            Weird, I added in those lines you said to my retroarch.cfg in the arcade folder and restarted emulationstation, but when loading lr-mame2003 arcade game it still detected the gamepads and of course ESC key wouldn't exit, but the gamepads still exited with select-start.
            Any other ideas to disable the gamepads strictly in the arcade system?

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

              @sshht Can you get a verbose log when running the arcade game and post it on pastebin.com ?

              S 1 Reply Last reply Reply Quote 0
              • S
                sshht @mitu
                last edited by

                @mitu

                Here is the verbose log running asteroids. verbose log

                Here is my arcade retroarch: arcade retroarch.cfg

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

                  @sshht Hm, I thought that would disable the gamepads.

                  Try adding just

                  input_autodetect_enable  = false
                  

                  and no gamepad detection would be performed, leaving only keyboard devices to work. Note - this might disable also any mice, so if you have a spinner, it could disable it too.

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sshht @mitu
                    last edited by

                    @mitu

                    Sweet!!! that did the trick. It disabled my gamepads while playing arcade. I can now exit the arcade using the 'esc' key.
                    Thank you!!!!

                    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.