Some vibrations cause inputs to lock up until it stops
This is the tracking issue for the many reports of this.
Description
When Controlify triggers certain vibration effects in game, like using a shield, falling into water, and getting damaged, the controller inputs stop responding for the duration of the vibration effect. It works as normal afterwards.
Environments
This only happens when using SDL.
- DualSense
- macOS (assumed HIDAPI)
- Windows (assumed HIDAPI)
- DualShock 4
- Windows (assumed HIDAPI)
- macOS (assumed HIDAPI)
- DualShock 3
- Linux (assumed HIDAPI)
- Switch Pro Controller
- Windows (assumed HIDAPI)
- 8Bitdo Pro 2
- X-input mode: No issue
- Switch mode: Issue (assumed HIDAPI)
Issue references
Controlify
#500 #383 #492 #331 #270
SDL
libsdl-org/SDL#9441
@turtlekoopa @allavyazmin @Zytronium @XXCheekyBastardXX @sodul @fianalins @Gabibag @Mirror995 @chytreg @deltaryz
I would like some testers in the coming days to test possible fixes for this, since I cannot experience it myself. If you are willing, please join my discord server and ping me (tell me why you're pinging!). I will add you to a channel where I will send some builds in the coming days.
https://gofile.io/d/9T4AYf
This build is for Fabric 1.21.4. All that are affected, please try this build and see if it still happens.
I just very quickly tested this and the version uploaded to Modrinth. In this fixed version, the controls don't lock up, but also the vibrations feel a lot more toned down? As if the strength was turned down, even though it wasn't.
I tried the Modrinth (unpacked) version, and it locks input. I also noticed it happens when pressing the "Test Vibrations", where it freezes for the first couple seconds and doesn't allow me to control the UI.
Also, unrelated to the vibration issue, this fixed version allows me to press on the Settings button with my mouse in the Controller Settings menu, where the Modrinth version doesn't.
no sorry im fine with it
- Operating System: macOS 15.2
- Hardware: Apple M2 Pro
- Controller: Sony DualSense (PS5)
The application crashes immediately upon button press after world load.
The cause of the issue has been identified. We will now have to wait patiently for SDL to release a fix.
I found a fix!!! Use DSX/DS5 (Free version should work) and set it to "Dualsense emulation" (or whatever controller you're using). Dunno why it works, but it does. Make sure to install HIDHide alongside it to avoid double input.
I found a fix!!! Use DSX/DS5 (Free version should work) and set it to "Dualsense emulation" (or whatever controller you're using). Dunno why it works, but it does. Make sure to install HIDHide alongside it to avoid double input.
This is essentially converting your controller to a different kind of controller via software emulation, which is possibly an acceptable solution for most people, but I personally find that to be kind of janky and dubious - and also one that doesn't work for Mac or Linux users. Furthermore, DSX only works for DualSense controllers.
I am curious if SteamInput yields the same results, since it is doing effectively the same thing that DSX does + it works with any controller on Win+Mac+Linux. Worth a shot while we wait for SDL to implement the fix on their end.
Getting this issue using a Nintendo Switch controller plugged in with USB. It happens consistently with using a shield and creeper explosions.
Still an issue using on 1.21.10, using a bluetooth DualSense controller. Happens with the shield, creeper explosions, and other instances of taking damage.