summaryrefslogtreecommitdiff
path: root/src/core/hid/input_converter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hid/input_converter.cpp')
-rw-r--r--src/core/hid/input_converter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cpp
index ee228e39b..3c26260f3 100644
--- a/src/core/hid/input_converter.cpp
+++ b/src/core/hid/input_converter.cpp
@@ -327,7 +327,7 @@ void SanitizeStick(Common::Input::AnalogStatus& analog_x, Common::Input::AnalogS
327 raw_y += properties_y.offset; 327 raw_y += properties_y.offset;
328 328
329 // Apply X scale correction from offset 329 // Apply X scale correction from offset
330 if (std::abs(properties_x.offset) < 0.5f) { 330 if (std::abs(properties_x.offset) < 0.75f) {
331 if (raw_x > 0) { 331 if (raw_x > 0) {
332 raw_x /= 1 + properties_x.offset; 332 raw_x /= 1 + properties_x.offset;
333 } else { 333 } else {
@@ -336,7 +336,7 @@ void SanitizeStick(Common::Input::AnalogStatus& analog_x, Common::Input::AnalogS
336 } 336 }
337 337
338 // Apply Y scale correction from offset 338 // Apply Y scale correction from offset
339 if (std::abs(properties_y.offset) < 0.5f) { 339 if (std::abs(properties_y.offset) < 0.75f) {
340 if (raw_y > 0) { 340 if (raw_y > 0) {
341 raw_y /= 1 + properties_y.offset; 341 raw_y /= 1 + properties_y.offset;
342 } else { 342 } else {