diff options
author | Viktor Szépe <viktor@szepe.net> | 2024-01-16 00:26:53 +0100 |
---|---|---|
committer | Viktor Szépe <viktor@szepe.net> | 2024-01-16 00:26:53 +0100 |
commit | 2044ae6b3af6fab4d79996a661fef43f6db8d825 (patch) | |
tree | 49f827eb5f5cc0eca379bce989cbe9450e4831c9 /src/hid_core/resources/six_axis | |
parent | Fix typos in src/core (#12625) (diff) | |
download | yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.gz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.bz2 yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.lz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.xz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.zst yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.zip |
Diffstat (limited to 'src/hid_core/resources/six_axis')
-rw-r--r-- | src/hid_core/resources/six_axis/six_axis.cpp | 4 | ||||
-rw-r--r-- | src/hid_core/resources/six_axis/six_axis.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/hid_core/resources/six_axis/six_axis.cpp b/src/hid_core/resources/six_axis/six_axis.cpp index 8a9677c50..404e4e6ca 100644 --- a/src/hid_core/resources/six_axis/six_axis.cpp +++ b/src/hid_core/resources/six_axis/six_axis.cpp @@ -249,7 +249,7 @@ Result SixAxis::EnableSixAxisSensorUnalteredPassthrough( } auto& sixaxis = GetSixaxisState(sixaxis_handle); - sixaxis.unaltered_passtrough = is_enabled; + sixaxis.unaltered_passthrough = is_enabled; return ResultSuccess; } @@ -262,7 +262,7 @@ Result SixAxis::IsSixAxisSensorUnalteredPassthroughEnabled( } const auto& sixaxis = GetSixaxisState(sixaxis_handle); - is_enabled = sixaxis.unaltered_passtrough; + is_enabled = sixaxis.unaltered_passthrough; return ResultSuccess; } diff --git a/src/hid_core/resources/six_axis/six_axis.h b/src/hid_core/resources/six_axis/six_axis.h index 1054e1b27..b4b00a441 100644 --- a/src/hid_core/resources/six_axis/six_axis.h +++ b/src/hid_core/resources/six_axis/six_axis.h @@ -62,7 +62,7 @@ private: struct SixaxisParameters { bool is_fusion_enabled{true}; - bool unaltered_passtrough{false}; + bool unaltered_passthrough{false}; Core::HID::SixAxisSensorFusionParameters fusion{}; Core::HID::SixAxisSensorCalibrationParameter calibration{}; Core::HID::SixAxisSensorIcInformation ic_information{}; |