summaryrefslogtreecommitdiff
path: root/src/core/hid/input_converter.cpp
diff options
context:
space:
mode:
authorGravatar liamwhite2023-03-12 21:59:46 -0400
committerGravatar GitHub2023-03-12 21:59:46 -0400
commit54c359d1e3915653ce07a26e0e574aca5a331cb1 (patch)
tree75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/core/hid/input_converter.cpp
parentMerge pull request #9913 from ameerj/acc-dma-refactor (diff)
parentgeneral: fix spelling mistakes (diff)
downloadyuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.gz
yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.xz
yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.zip
Merge pull request #9942 from liamwhite/speling
general: use codespell to identify spelling mistakes
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