diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-15 23:26:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-15 23:26:08 -0500 |
| commit | fa21d6ee850e199079a1f5fbbf1a02824515f6e6 (patch) | |
| tree | e5552e7f82ccb37b611a3a577f94c91f9c813320 /src/input_common/drivers/gc_adapter.cpp | |
| parent | 33bd495eb3d310392aa0ada0a3eb6e32ab437d54 (diff) | |
| parent | 34a9bad960226b821d44cc7076b6f593cfb9d2d8 (diff) | |
Merge pull request #12686 from szepeviktor/typos3
Fix more typos
Diffstat (limited to 'src/input_common/drivers/gc_adapter.cpp')
| -rw-r--r-- | src/input_common/drivers/gc_adapter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/drivers/gc_adapter.cpp b/src/input_common/drivers/gc_adapter.cpp index 1ff296af52..f1184a5fa0 100644 --- a/src/input_common/drivers/gc_adapter.cpp +++ b/src/input_common/drivers/gc_adapter.cpp @@ -451,11 +451,11 @@ ButtonMapping GCAdapter::GetButtonMappingForDevice(const Common::ParamPackage& p std::tuple{Settings::NativeButton::ZL, PadButton::TriggerL, PadAxes::TriggerLeft}, {Settings::NativeButton::ZR, PadButton::TriggerR, PadAxes::TriggerRight}, }; - for (const auto& [switch_button, gcadapter_buton, gcadapter_axis] : switch_to_gcadapter_axis) { + for (const auto& [switch_button, gcadapter_button, gcadapter_axis] : switch_to_gcadapter_axis) { Common::ParamPackage button_params{}; button_params.Set("engine", GetEngineName()); button_params.Set("port", params.Get("port", 0)); - button_params.Set("button", static_cast<s32>(gcadapter_buton)); + button_params.Set("button", static_cast<s32>(gcadapter_button)); button_params.Set("axis", static_cast<s32>(gcadapter_axis)); button_params.Set("threshold", 0.5f); button_params.Set("range", 1.9f); |
