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.
    • 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
                                  • M
                                    MyFartSoTart @mitu
                                    last edited by

                                    @mitu Ok! After working on this for literally almost a year I finally figured it out!!! So for anyone that is having this problem in the future here is the solution.
                                    When you are in emulation station, open up the retropie menu and go to retropie setup. Once it opens, go to “Configuration / Tools”, then find the file called configedit, it should be file 200. Click “Configure basic libretro emulator options”, then “Configure default options for all libretro emulators”, then click “Choose joypad order”. Then play around with which joystick is listed as player 1. You need to set your player one joystick to be listed as player 1 in order for the Start+Select hotkey to work. I’m assuming this works with controllers as well. Hopefully I can be one of those forum legends that helps someone with the same problem 8 years later lol. Anyways, thank you mitu for the help!

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

                                      In other words, your P1 was on another joystick than what you thought it was.

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

                                        @mitu Actually it still wasn’t working properly turns out that was only part of the problem. Apparently my retroarch hotkey configs weren’t saving when I quit retroarch so Start+Select wasn’t even set to be the exit emulator buttons. However after enabling “Save configuration on quit”. My settings saved and now it is working fine and dandy!

                                        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.