diff options
| author | 2024-01-15 23:26:53 +0000 | |
|---|---|---|
| committer | 2024-01-15 23:26:53 +0000 | |
| commit | 2044ae6b3af6fab4d79996a661fef43f6db8d825 (patch) | |
| tree | 49f827eb5f5cc0eca379bce989cbe9450e4831c9 /src/hid_core/resources | |
| parent | Fix typos in src/core (#12625) (diff) | |
| download | yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.gz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.xz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.zip | |
Fix more typos
Diffstat (limited to 'src/hid_core/resources')
| -rw-r--r-- | src/hid_core/resources/hid_firmware_settings.cpp | 4 | ||||
| -rw-r--r-- | src/hid_core/resources/hid_firmware_settings.h | 2 | ||||
| -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 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/hid_core/resources/hid_firmware_settings.cpp b/src/hid_core/resources/hid_firmware_settings.cpp index e76b3a016..9fa0db17e 100644 --- a/src/hid_core/resources/hid_firmware_settings.cpp +++ b/src/hid_core/resources/hid_firmware_settings.cpp | |||
| @@ -14,7 +14,7 @@ void HidFirmwareSettings::Reload() { | |||
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | void HidFirmwareSettings::LoadSettings(bool reload_config) { | 16 | void HidFirmwareSettings::LoadSettings(bool reload_config) { |
| 17 | if (is_initalized && !reload_config) { | 17 | if (is_initialized && !reload_config) { |
| 18 | return; | 18 | return; |
| 19 | } | 19 | } |
| 20 | 20 | ||
| @@ -33,7 +33,7 @@ void HidFirmwareSettings::LoadSettings(bool reload_config) { | |||
| 33 | is_handheld_forced = true; | 33 | is_handheld_forced = true; |
| 34 | features_per_id_disabled = {}; | 34 | features_per_id_disabled = {}; |
| 35 | is_touch_firmware_auto_update_disabled = false; | 35 | is_touch_firmware_auto_update_disabled = false; |
| 36 | is_initalized = true; | 36 | is_initialized = true; |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | bool HidFirmwareSettings::IsDebugPadEnabled() { | 39 | bool HidFirmwareSettings::IsDebugPadEnabled() { |
diff --git a/src/hid_core/resources/hid_firmware_settings.h b/src/hid_core/resources/hid_firmware_settings.h index 6c10c440b..00201fd94 100644 --- a/src/hid_core/resources/hid_firmware_settings.h +++ b/src/hid_core/resources/hid_firmware_settings.h | |||
| @@ -33,7 +33,7 @@ public: | |||
| 33 | FeaturesPerId FeaturesDisabledPerId(); | 33 | FeaturesPerId FeaturesDisabledPerId(); |
| 34 | 34 | ||
| 35 | private: | 35 | private: |
| 36 | bool is_initalized{}; | 36 | bool is_initialized{}; |
| 37 | 37 | ||
| 38 | // Debug settings | 38 | // Debug settings |
| 39 | bool is_debug_pad_enabled{}; | 39 | bool is_debug_pad_enabled{}; |
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( | |||
| 249 | } | 249 | } |
| 250 | 250 | ||
| 251 | auto& sixaxis = GetSixaxisState(sixaxis_handle); | 251 | auto& sixaxis = GetSixaxisState(sixaxis_handle); |
| 252 | sixaxis.unaltered_passtrough = is_enabled; | 252 | sixaxis.unaltered_passthrough = is_enabled; |
| 253 | return ResultSuccess; | 253 | return ResultSuccess; |
| 254 | } | 254 | } |
| 255 | 255 | ||
| @@ -262,7 +262,7 @@ Result SixAxis::IsSixAxisSensorUnalteredPassthroughEnabled( | |||
| 262 | } | 262 | } |
| 263 | 263 | ||
| 264 | const auto& sixaxis = GetSixaxisState(sixaxis_handle); | 264 | const auto& sixaxis = GetSixaxisState(sixaxis_handle); |
| 265 | is_enabled = sixaxis.unaltered_passtrough; | 265 | is_enabled = sixaxis.unaltered_passthrough; |
| 266 | return ResultSuccess; | 266 | return ResultSuccess; |
| 267 | } | 267 | } |
| 268 | 268 | ||
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: | |||
| 62 | 62 | ||
| 63 | struct SixaxisParameters { | 63 | struct SixaxisParameters { |
| 64 | bool is_fusion_enabled{true}; | 64 | bool is_fusion_enabled{true}; |
| 65 | bool unaltered_passtrough{false}; | 65 | bool unaltered_passthrough{false}; |
| 66 | Core::HID::SixAxisSensorFusionParameters fusion{}; | 66 | Core::HID::SixAxisSensorFusionParameters fusion{}; |
| 67 | Core::HID::SixAxisSensorCalibrationParameter calibration{}; | 67 | Core::HID::SixAxisSensorCalibrationParameter calibration{}; |
| 68 | Core::HID::SixAxisSensorIcInformation ic_information{}; | 68 | Core::HID::SixAxisSensorIcInformation ic_information{}; |