Stratus XL works in ES menu, but not in game (trying XBOXDRV)
-
@mitu Thank you for the code, I will try it out after deleting everything I added to rc.local (but keeping the original code), then pasting your code into it (after rebooting), then running it from ssh and seeing if my Stratus XL works in game now. Also, what is the xboxdrv invocation that you talk about, are you referring to:
sudo systemctl enable /etc/systemd/system/connect-bluetooth.service
-
@TheBlueDragon No, I'm referring to the command line I've corrected (containing
xboxdrv
). The line you mentioned is meant to start the bluetooth service on the PI, but that's already started automatically so you don't need it.
Btw,stackoverflow.com
is not the right place for these kind of questions, there are dedicated stack sites for the Raspberry PI or normal user questions, but don't start spamming all the known forums at once with your question. -
@mitu when i enter your code into rc.local, I get the following:
error: invalid argument '--evdev-keymap BTN_NORTH=y,BTN_EAST=b,BTN_SOUTH=a,BTN_WEST=x,BTN_THUMBR=tr,BTN_THUMBL=tl,BTN_TL=lb,BTN_TR=rb,ABS_BRAKE=lt,ABS_GAS=rt,BTN_START=start,KEY_BACK=back' str2key: couldn't convert string: 'ABS_BRAKE' My IP address is 192.168.2.34 192.168.2.178
-
I fixed this problem by moving the ABS_[] buttons to the other argument. I then proceeded to delte the code from rc.local and add it to autostart.sh. Now, how do I get games to read the new event, event4, which is the virtual XBOX 360 controller, instead of event3, which is the input from the Stratus XL.
-
@TheBlueDragon Try using the
--detach-kernel-driver
argument toxboxdrv
. -
Ok, I will add the argument that you suggested to the code that's inside the autostart.sh, and see if that works.
-
@mitu Didn't work, unfortunately. Anyone else got any other suggestions?
-
I solved my problem by getting rid of the Stratus XL, lol. I got a Xbox controller to use with my Pi instead. With a little bit of configuring in the Retroarch menu, I was able to get it to work perfectly, at least with the SNES emulator. I am a bit disappointed that Retropie and Retroarch reads the Bluetooth and wired connections as different controllers.
-
@TheBlueDragon said in Stratus XL works in ES menu, but not in game (trying XBOXDRV):
I am a bit disappointed that Retropie and Retroarch reads the Bluetooth and wired connections as different controllers.
Actually, that part is up to the operating system (the driver) and the device itself, RetroArch just reads what the OS detects. Moreover, controllers often identify to the OS differently when connected via wireless vs. connected via wired - and they also have different button mappings. So there's nothing that RA or RetroPie can do about it.
-
@mitu Oh my bad, sorry. You can tell I'm a mega-noob because I have a default profile picture 😁
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.