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 3f7b8c090..7cee39a53 100644
--- a/src/core/hid/input_converter.cpp
+++ b/src/core/hid/input_converter.cpp
@@ -328,7 +328,7 @@ void SanitizeAnalog(Common::Input::AnalogStatus& analog, bool clamp_value) {
328 // Apply center offset 328 // Apply center offset
329 raw_value -= properties.offset; 329 raw_value -= properties.offset;
330 330
331 // Set initial values to be formated 331 // Set initial values to be formatted
332 value = raw_value; 332 value = raw_value;
333 333
334 // Calculate vector size 334 // Calculate vector size
@@ -398,7 +398,7 @@ void SanitizeStick(Common::Input::AnalogStatus& analog_x, Common::Input::AnalogS
398 raw_x = properties_x.inverted ? -raw_x : raw_x; 398 raw_x = properties_x.inverted ? -raw_x : raw_x;
399 raw_y = properties_y.inverted ? -raw_y : raw_y; 399 raw_y = properties_y.inverted ? -raw_y : raw_y;
400 400
401 // Set initial values to be formated 401 // Set initial values to be formatted
402 x = raw_x; 402 x = raw_x;
403 y = raw_y; 403 y = raw_y;
404 404