Streets of rage remake help "esc" key needed
-
No problems there. It's likely an issue either with the case statement script or the xboxdrv command itself. What I would recommend doing is eliminating the launch script from the equation temporarily and use the guide to make a basic xboxdrv command that does what you want. Then, try launching it from the command line. If it is a problem with the command, you should get some immediate feedback that will say so.
-
Since this thread sort of died... I'd like to know if @trixta ever got this working or not? It looks like I might have to set up an xboxdrv mapping for my setup as well. The biggest reason being that I can't map my controller inside the game, it's undetected. So I have to resort to using xboxdrv and configuring the game to use keyboard buttons (and have xboxdrv map to those buttons). I'm just curious if you were ever able to get the launching of xboxdrv to work or not.
Reading through the thread though, and from my looking over the instructions, I wonder if the problem comes from the driver itself not loading due to the xpad driver already being loaded? I do recall there being mention in the instructions about making sure your script includes a line to disable it first.
@mediamogul xboxdrv is like your favorite thing. :) You were suggesting it to me before. You say you don't need to have an Xbox controller to make it work. Can I ask, how DO you make it work though? I mean, suppose I have multiple controllers. Is there a way to specify exactly what controller I want to use, and then have it mapped to a specific controller input in the emulator? I'm still struggling with my other emulator. Seems some of them don't recognize my controller, and even though I suspected it was because the emulator was looking for a joystick on js0, it turned out not be the case.
-
@hansolo77 said in Streets of rage remake help "esc" key needed:
xboxdrv is like your favorite thing. :)
Well, I'd say my favorite thing is playing retro games comfortably. I currently run four emulation setups in my home and each is on a different platform. The one thing I learned to make peace with years ago was the need for an external key-mapping solution to allow the games to be played as close to their original intent as possible. Out of all my setups, xboxdrv is without a doubt the most difficult to deal with, but it's also the only mapping software I've found for the Pi that delivers the level of control I've come to rely on.
Is there a way to specify exactly what controller I want to use...
The first part of the guide illustrates how to assign a specific controller to the mapping. The line responsible for this reads as follows.
--evdev /dev/input/by-id/*
Another mapping would need to be made in the same way for each additional controller and would be launched as separate instances of xboxdrv.
...and then have it mapped to a specific controller input in the emulator?
Most of the emulators and ports are already capable of using keyboard keys and mouse input. After assigning the same keys and/or mouse input to a controller via xboxdrv, the emulators aren't able to tell the difference.
I'm still struggling with my other emulator. Seems some of them don't recognize my controller
Hey, I get it. These issues are the main reason I advocate for key-mapping in the first place. Without it as an option on an emulation platform, you're at the mercy of whatever limited controller support or rudimentary control scheme that may exist by default. While many of these emulators have control options that are very well thought out, others barely allow you to play the games at all, let alone play them well.
-
I tell you what; since you only want to map one or two pieces of software, just concentrate on getting a basic mapping to execute in the command line over an ssh session. From there, get with me and we'll add the keys required by the emulator and afterward, I'll show you a way to launch the mapping alongside the software that is much simpler than either of the two options currently in the guide.
-
OK! :) I actually have the weekend off (never happen again lol)). So I'm going to be messing with this the whole time till I'm satisfied.
-
@mediamogul I'm going to create a new thread for xboxdrv support so I'm not hijacking this thread.
-
no I never got this working :( and gave up on it
-
Honestly, if you have a few hours to spend figuring it out.. XBOXDRV is the best way to make this work. I now have it working over here, and have a dedicated button (BACK) to use as the escape key. Just takes a little bit of research and patience. I'm glad I had a free weekend to work it out. This game is awesome!
-
@hansolo77 said in Streets of rage remake help "esc" key needed:
Honestly, if you have a few hours to spend figuring it out.. XBOXDRV is the best way to make this work. I now have it working over here, and have a dedicated button (BACK) to use as the escape key. Just takes a little bit of research and patience. I'm glad I had a free weekend to work it out. This game is awesome!
care to share the files?
-
I posted the working configs in my process thread here:
https://retropie.org.uk/forum/post/46824But honestly, you'll benefit from doing the work yourself too. One of the things in particular is that the controller I'm using (Wireless Xbox360) is mapped on my device as Joystick #5, and Event #7. If you only have 1 controller, yours may be listed as something like Joystick #0 and Event #1 or something. Also, it looks like it's picking up a serial number or something in the actual device name, so it might not work at all. But you're more than welcome to give it a try, maybe you'll get lucky. Also, I'm using the default keyboard mapping in the game, so if you've changed it, you'll want to reset it.
I just double checked, and it doesn't look like the the port assignment is needed for anything more than identifying the actual button maps. The configuration uses
by-id
so it'll work no matter what port or joystick # it's assigned to. The only issues you'd have would be if the controller you're using ISN'T the same, and if the ID is incorporating a serial number.
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.