mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-22 17:29:18 +01:00
Fix interpreting right stick values after leaving dead zone
This commit is contained in:
parent
a840089d59
commit
fc58383a82
@ -474,7 +474,7 @@ namespace DS4Windows
|
||||
dState.RX = 127;
|
||||
dState.RY = 127;
|
||||
}
|
||||
else if (rsDeadzone < 0 && rsSquared > rsDeadzoneSquared)
|
||||
else if (rsDeadzone > 0 && rsSquared > rsDeadzoneSquared)
|
||||
{
|
||||
|
||||
double r = Math.Atan2(-(dState.RY - 127.5f), (dState.RX - 127.5f));
|
||||
|
Loading…
Reference in New Issue
Block a user