moonlight-qt
moonlight-qt copied to clipboard
Deadzone support
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
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.
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.
Adjustable deadzone on windows is a must for sure. +1
Is there anyhardcoded value bytheway?
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