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

    Dragonrise USB Generic Joystick- Hotkey Doesn’t Work (Can’t exit game)

    Scheduled Pinned Locked Moved Help and Support
    helphotkeyjoystickinput
    23 Posts 2 Posters 3.4k 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.
    • M
      MyFartSoTart
      last edited by

      So I’m running a Pi model 4b on the latest version of retropie as of today. I have 3 different joysticks, two 8 ways, and one 4 way, (all Dragonrise usb joysticks). I have configured them and the buttons work fine for games however the hotkey doesn’t work or something so I can’t exit games without using escape on the keyboard. Another guy in a different thread said something about a file in retroarch disabling hotkeys with his Dragonrise joysticks, but I tried that and ended up just messing up my keyboard as well, so I had to reflash retropie (hence why I have the latest version). I already asked a similar question on here but I figured I’d try to give more info and hope for better results as I’ve been struggling with this for almost a year now and I’m out of ideas. Thanks I advance for the help!

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

        Did you choose a hotkey enable button during the controllers' configuration in EmulationStation ? How are you trying to exit the game using the hotkey enable button ?

        M 1 Reply Last reply Reply Quote 0
        • M
          MyFartSoTart @mitu
          last edited by

          @mitu I setup my hotkey button to be the same as my select/coin button. I have two joysticks running the same config, so I’ve tried pressing Start+Select on player one, and also pressing Start+Select on both at the same time.

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

            Ok, so the configs should be fine.
            Which emulator and game are you running when trying the Start + Select combo to exit ? Can you browse to \\retropie\configs\all\retroarch-joypads folder (accessible over the File Shares on RetroPie) and check if you have a Dragonrise .<something>.cfg configuration file there ? If yes, open it and post the contents here in the topic - it's a simple text file that can be opened with Notepad/any text editor.

            M 1 Reply Last reply Reply Quote 0
            • M
              MyFartSoTart @mitu
              last edited by

              @mitu Sorry for the delay, I recently had knee surgery and wasn’t able to mess with my arcade for a while, anyways I’m back. So I navigated to retroarch-joypads in the RetroPie file manager and I do have a file called Dragonrise Inc. Generic USB Joystick .cfg as well as a .bak file of the same name. However I’m not sure what buttons I use to open the file. It says 3 to View but pressing 3 doesn’t do anything. I think there is another key that has to be held while pressing 3 but I can’t figure out which one it is. Also, even when I do open it, not sure how I would post all the info here from my Pi. Is there an easier way to do that, such as putting the sd card into my laptop and looking at the files there, or would that even work?

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

                @MyFartSoTart said in Dragonrise USB Generic Joystick- Hotkey Doesn’t Work (Can’t exit game):

                It says 3 to View but pressing 3 doesn’t do anything.

                It's actually F3, the numbers represent the function keys' number. Guess you don't remember Norton Commander or any of the NC clones which were really popular under DOS back in the day - Midnight Commander is implementing the same user interface.

                M 1 Reply Last reply Reply Quote 0
                • M
                  MyFartSoTart @mitu
                  last edited by MyFartSoTart

                  @mitu alt text
                  Managed to open it up, not really much too read so figured it just show a picture of it.

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

                    I fixed the link to the image, a text fragment is always preferred.

                    By looking at the picture, I see that the Hotkey enable button is configured and set the same as Select, the menu open button is also configured and it's the same as the X button input. The configuration is ok, looks like a normal configuration generated by EmulationStation.

                    Since only P1 has access to the hotkey actions, did you try to control the menu with all of them, just to be sure you're not trying to open the menu/exit/etc. with P2 or P3 ?

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MyFartSoTart @mitu
                      last edited by

                      @mitu Not really sure what you mean but I have tried pressing start+select for players 1 and 2 at the same time. Player 3 doesn’t have a start, select, or hotkey, it’s just set up in mame to use the buttons from player 1 on 4way games. Is there a certain button combo I should try? I understand what you’re saying about possibly using player 2 or 3 since these are generic joysticks and the joystick assigned to player 1/2/3 changes every time I turn the system off and back on.

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

                        @MyFartSoTart said in Dragonrise USB Generic Joystick- Hotkey Doesn’t Work (Can’t exit game):

                        @mitu Not really sure what you mean but I have tried pressing start+select for players 1 and 2 at the same time

                        That's not what I meant. You said in the beginning

                        I have 3 different joysticks...

                        How many joysticks/controllers are connected at the same time ? My suggestion was to try the hotkey actions (either exit or opening the menu) for the joystick/gamepad that's detected as P1 by RetroArch.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          MyFartSoTart @mitu
                          last edited by

                          @mitu I have 3 joysticks (only 2 with start/select, 1 trackball, and a keyboard). Honestly, I don’t really know how to tell which one is detected as player 1, usually when I set up the configs, it just assigns them random numbers like “joypad #43” but it changes all the time, so I just have the buttons plugged in in the exact same order on each joystick to solve that issue.

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

                            @MyFartSoTart You're talking about EmultationStation, I was asking about the emulator - RetroArch - since this is where the hotkeys come into play. Boot a 1 player game and see which controller is Player 1, then try to open the menu with Select + X and see if it opens.

                            You only need to configure your joystick once in EmulationStation, not every time you boot EmulationStation. Once you do that, the configuration file you opened is generated and RetroArch reads it in order to configure the joystick(s) when starting.

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              MyFartSoTart @mitu
                              last edited by MyFartSoTart

                              @mitu After testing with Galaga on mame, none of the joysticks will open the menu.Not sure how to check this on RetroArch but I’m assuming it’s the same on Mame so here’s how the mame configs has them listed:
                              4 Way Joystick- Retropad 2
                              Player 1 Joystick- Retropad 3
                              Player 2 Joystick- Retropad 4
                              Not sure who is Retropad 1 as those are all the joysticks I have hooked up. I have a trackball as well that is also configured in retroarch but it doesn’t have any buttons connected to it so I hope it doesn’t think that’s player 1.
                              Not sure if there is a way to change the way they are setup in RetroArch?

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

                                Please post a verbose log taken while running the game - see here on how to enable logging. You'll probably need to enable SSH and use WinSCP to transfer the log file.

                                Post the log file's contents on pastebin.com.

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  MyFartSoTart @mitu
                                  last edited by

                                  @mitu I think I managed to run verbose logging and set up a session with windows using MobaXTerm, I’m assuming it’s the same process as WinSCP. However, I’ve looked all over and I’m not sure where to find the log files?
                                  https://imgur.com/a/uJTjxr2

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

                                    @MyFartSoTart From the doc page:

                                    When launching Libretro cores (those prefixed by lr-) the Runcommand launch menu presents the option to Launch with verbose logging. This outputs more information to the log file found in /dev/shm/runcommand.log which is useful, and often necessary, when diagnosing problems. Once the game is exited, the log file can be downloaded via SFTP or viewed directly via the command line.

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      MyFartSoTart @mitu
                                      last edited by

                                      @mitu Thanks, apparently it just didn't create a log the first time for some reason. Anyways here is the log while running 1943: Battle of Midway.
                                      https://pastebin.com/mb0KXurx

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

                                        OK, so the log doesn't show any remaps and shows 4 joysticks connected.

                                        I'm not sure what happens here - my guess is that all joysticks have the same name and share the same config, but they're actually different somehow.

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          MyFartSoTart @mitu
                                          last edited by MyFartSoTart

                                          @mitu One of them is the keyboard and one only had three buttons (4 way joystick), other than that I have them all hooked up in the same order button-wise.Is there any way around this problem, like to use a hotkey in retro arch, etc.? I’ve heard you can use Joy2key with Retropie. Is that true? If so I’ll try that as I’m very familiar with joy2key from using it with these same joysticks on another arcade. I could possibly hook up an extra button to player one and use Joy2key to change that button to escape, that’s what I’ve been using to exit games.

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

                                            @MyFartSoTart said in Dragonrise USB Generic Joystick- Hotkey Doesn’t Work (Can’t exit game):

                                            I’ve heard you can use Joy2key with Retropie.

                                            If you're referring to this Joy2Key, then no, it's not going to work in RetroPie since it's a Windows utility.
                                            RetroPie has its own utility called joy2key which is used for the configuration menu in RetroPie-Setup scripts which does something similar (translates joystick buttons to key presses), but that can't be used in games.

                                            I'm going to come back to my previous test - leave just one joystick connected, re-configure it in EmulationStation and make sure you choose a hotkey enable button (Select) and see if the setup works like this. Then try adding the rest of the controllers (without any extra input configuration) and see what happens.

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