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 | 2c29c2b8dd280d0aeff432569f324cd85d83b415 (patch) | |
tree | e5552e7f82ccb37b611a3a577f94c91f9c813320 /src/input_common/drivers/gc_adapter.cpp | |
parent | c683ec2bcb71db6db504d4f1161a7830a8c42774 (diff) | |
parent | 16abda59be449484898fdcc55f8f0682ff1cff7d (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 1ff296af5..f1184a5fa 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); |