isXander / Controlify

Another controller mod - for fabric!
https://www.isxander.dev/mods/controlify
GNU Lesser General Public License v3.0
122 stars 23 forks source link

[Bug] 2.0.0 Steam Deck input latency #301

Open awumii opened 2 months ago

awumii commented 2 months ago

Current Behaviour

There is a noticeable input latency in 2.0 beta of Controlify. This issue does not happen on Controlify 1.8.1. It happens on every 2.0.0 beta version. I don't know how to measure the latency, but the right analog stick just "feels wrong" to use and it's making the game unplayable. Didn't change any settings, even deleted the config files manually.

Expected Behaviour

No input latency, like in version 1.8.1

Screenshots

No response

Reproduction Steps

  1. Install Controlify 1.8.1 and test the controls.
  2. Update Controlify to 2.0.0.
  3. Notice input latency which didn't happen before.

Logs

No response

Mod Version

2.0.0-beta6

Controller

Steam Deck

Bluetooth

Operating System

Linux/SteamOS

ARM

Additional Information

Latest SteamOS, running the game from the library (in gaming mode), Prism Launcher installed as Flatpak. Using the default controller preset in steam input.

Just to make sure...

mo-db commented 2 months ago

Can confirm this problem, tough I didn‘t test stable versions. Also on Steam Deck, there is realy noticable latency in the right analog stick compared to other games. Hope you will find a fix…

mo-db commented 2 months ago

Just a note: If I select "joystick mouse" instead of "joystick" in steam input the problem is fixed. Obviously this way I have to enable dual input in the controlify settings.

mo-db commented 2 months ago

I also noticed the latency thing in The Witcher 3, maybe a steam input problem? But than again awumii said stable doesn't have this problem...

@awumii One thing: if you use Joystick Mouse, you should set the mouse camera responsiveness in the minecraft settings to like 30% or so, if it is set to 100% and I lower the steam input responsiveness % then it becomes "choppy" as if it would jump multiple pixels.

awumii commented 2 months ago

When using joystick mouse it definitely improves responsiveness, but it still doesn't feel as smooth. At this point you could just use steam input mouse and keyboard emulation preset without Controlify. Try downgrading to a stable version of the mod to see how it's supposed to feel.

I noticed it doesn't affect jut the right analog, but probably every input Try setting the touch panel as joystick (not mouse), and the issue is even worse than with the right stick.

Since it works correctly in stable 1.8.1 version, this doesn't seem like an issue with steam input, but rather a regression in either Controlify 2.0.0 or SDL3.

As for The Witcher 3, check if you're using controller preset or keyboard preset in steam input. This game has native controller support. I don't remember having input latency issues in any game before on the steam deck.