![Controllable (Fabric) [Archived]](https://media.forgecdn.net/avatars/thumbnails/871/320/256/256/638288811230879393.png)
SDL2 + ds4windows + hidhide
dennore opened this issue ยท 7 comments
Hi, i am using ds4windows with 4 playstation controllers.
The strange thing is, in the SDL2controller selection i get "one" native Playstation controller and the expected 4 x360 virtual controller displayed
It should only display the 4 x360 controllers as i am using hidhide to hide the 4 playstation controllers to any other app then ds4windows.
And why is it showing just one and not all?!
This also works for any sdl2 application i use several emulators or games with native x360support. It just shows 4 x360 controllers and no native playstation controllers.
Is there a reason why it gives me the playstation controller as selection (also autoselects it) :-(
Hey Mr.Crayfish,
Thanks very much, it seems that you where right about the issue with my HidHide i had the issue on my ds4window (3.3.3) it had 2controllers without the keysymbol
Even though my HidHide (1.5.230) Config was correct:
After reenabling all ps controllers in HidHide they now have all Key Symbols
And now they are also listed correctly in minecraft
For some weird reason the order on SDL is in the opposite order (first controller is last and last is first) but this also applies when i am using SDL on Cemu for example.
The xinput order however is correct in every app.
Now i got another question about autoselection and saved controller slot.
Can you now add the option that when i dont use autoselect it remembers the last used controller? Cause i need to select it after every minecraft launch. Cause i use splitscreen (each controller should control a dedicated mc instance, see above screenshot)
Best wishes
Dennor
As of the 1.21.1, I have implemented support for restoring selected controllers. The problem with virtual controllers is that it masks a lot of the important information, like the unique serial, and prevents being able to identify the correct controller on next load. Unfortunately you'll have to select manually. I recommended disabling "Auto Select" in that case.
Going to close as the OP issue was resolved.
If using the latest version (0.20.4
) on Minecraft 1.20.1, I am currently using SDL 2.30.10
. As for why it is showing it, it could either be a bug in the version of SDL2 I am using, or maybe a misconfiguration in DS4 Windows.
Steps you could take to potentially resolve the issue:
- Make sure all controllers are connected before launching any instance of the game
- If a misconfiguration in a DS4Windows, try plugging in controllers one by one until you find the offending controller showing in Controllable. (While I was testing, I found https://hardwaretester.com/gamepad would also show double controllers until I correctly set it up with the steps below. So I don't believe this is an exclusive issue to SDL2)
- DS4Windows is technically now archived and doesn't receive any bug fixes (https://github.com/Ryochan7/DS4Windows). Make sure you are using the EOL version of the program (
3.3.3
), however keep in mind it's been over a year since that release.
From personally testing with a PS5 controller, installing EOL DS4WIndows and latest HidHide, I was able to hide the controller. Here is how I was able to do it.
- Allow DS4Windows to look through the cloak. This is very important.
- Check the controllers you want to hide and make sure "Enable device hiding" is checked
- In the settings of your controller, under the "Other" tab. Set the emulated controller to "Xbox 360" and make sure "Disable virtual controller" is unchecked. Click "Apply" once finished.
- Check that "Ex" column in the controllers list shows the key icon and the tooltip says "HidHide Access". You may need to "Stop" and "Start" DS4Windows at the bottom right.
- At https://hardwaretester.com/gamepad and in Controllable, it now only shows an Xbox 360 Controller.
I hope this helps. From my perspective, this seems just to be a misconfiguration, and not an issue with Controllable/SDL2.