mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-03 06:26:16 +00:00
Increase minimum deadzone to 15% in an attempt to fix a reported deadzone issue
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user