Dragonrise USB Generic Joystick- Hotkey Doesn’t Work (Can’t exit game)
-
@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.
-
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 aDragonrise .<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. -
@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?
-
@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.
-
@mitu
Managed to open it up, not really much too read so figured it just show a picture of it. -
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 ?
-
@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.
-
@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.
-
@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.
-
@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.
-
@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? -
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.
-
@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 -
@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.
-
@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 -
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.
-
@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.
-
@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 calledjoy2key
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.
-
@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! -
In other words, your P1 was on another joystick than what you thought it was.
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.