Dragonrise USB Generic Joystick- Hotkey Doesn’t Work (Can’t exit game)
-
@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.
-
@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!
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.