mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 11:33:06 +00:00
Increase minimum deadzone to 15% in an attempt to fix a reported deadzone issue
This commit is contained in:
parent
895e0250d9
commit
dff6fc21f4
@ -152,9 +152,9 @@ public class ControllerHandler {
|
||||
if (mapping.leftStickDeadzoneRadius < 0.02f) {
|
||||
mapping.leftStickDeadzoneRadius = 0.20f;
|
||||
}
|
||||
// Check that the deadzone is 12% at minimum
|
||||
else if (mapping.leftStickDeadzoneRadius < 0.12f) {
|
||||
mapping.leftStickDeadzoneRadius = 0.12f;
|
||||
// Check that the deadzone is 15% at minimum
|
||||
else if (mapping.leftStickDeadzoneRadius < 0.15f) {
|
||||
mapping.leftStickDeadzoneRadius = 0.15f;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -178,9 +178,9 @@ public class ControllerHandler {
|
||||
if (mapping.rightStickDeadzoneRadius < 0.02f) {
|
||||
mapping.rightStickDeadzoneRadius = 0.20f;
|
||||
}
|
||||
// Check that the deadzone is 12% at minimum
|
||||
else if (mapping.rightStickDeadzoneRadius < 0.12f) {
|
||||
mapping.rightStickDeadzoneRadius = 0.12f;
|
||||
// Check that the deadzone is 15% at minimum
|
||||
else if (mapping.rightStickDeadzoneRadius < 0.15f) {
|
||||
mapping.rightStickDeadzoneRadius = 0.15f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user