diff options
author | Liam <byteslice@airmail.cc> | 2023-03-12 04:10:38 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-12 16:33:01 +0100 |
commit | 600f325d87e42f856da58c42a5280f098ebb6e8c (patch) | |
tree | 75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/core/hid/input_converter.cpp | |
parent | general: use codespell to identify spelling mistakes (diff) | |
download | yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.gz yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.bz2 yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.lz yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.xz yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.zst yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.zip |
Diffstat (limited to 'src/core/hid/input_converter.cpp')
-rw-r--r-- | src/core/hid/input_converter.cpp | 4 |
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) { // Apply center offset raw_value -= properties.offset; - // Set initial values to be formated + // Set initial values to be formatted value = raw_value; // Calculate vector size @@ -398,7 +398,7 @@ void SanitizeStick(Common::Input::AnalogStatus& analog_x, Common::Input::AnalogS raw_x = properties_x.inverted ? -raw_x : raw_x; raw_y = properties_y.inverted ? -raw_y : raw_y; - // Set initial values to be formated + // Set initial values to be formatted x = raw_x; y = raw_y; |