moonlight-qt icon indicating copy to clipboard operation
moonlight-qt copied to clipboard

Deadzone support

Open sentix001 opened this issue 3 years ago • 4 comments

Recently the android version added an option of deadzone support this is very good in cases of older controllers which drift a bit but are still mostly good can be used via moonlight

Seeing windows offers no native support to add deadzone it would be nice to have it here is as well

sentix001 avatar Jul 06 '22 19:07 sentix001

I'm having same drifting problems with no man's sky when playing from my steam link. Adding this option would be nice to avoid this issue.

jpenalbae avatar Sep 05 '23 18:09 jpenalbae

Voicing my support for this, should be easy to implement. My controller has slight drift so being able to adjust the deadzone will make it usable again.

xdpirate avatar Nov 19 '23 14:11 xdpirate

Adjustable deadzone on windows is a must for sure. +1

Is there anyhardcoded value bytheway?

xenophobentx avatar Jan 14 '24 14:01 xenophobentx

Any chance for some feedback on this? I've been unable to use Moonlight from my Mac after the DS4 developed its slight drift; since macOS itself provides no way to adjust dead zones, this falls to the application itself to implement. Being able to set a minor dead zone with a simple slider would be fantastic.

Presumably you can slightly adjust the logic in SdlInputHandler::handleControllerAxisEvent using the saved value of the slider, ignoring inputs below the threshold. I'd try to implement it myself, but my C/++ skills are rusty to say the least.

https://github.com/moonlight-stream/moonlight-qt/blob/89a628a0dde50264fd2170125588c15d8dd80a2c/app/streaming/input/gamepad.cpp#L191

xdpirate avatar Mar 05 '24 02:03 xdpirate