summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/sdl_driver.cpp
diff options
context:
space:
mode:
authorGravatar liamwhite2023-03-12 21:59:46 -0400
committerGravatar GitHub2023-03-12 21:59:46 -0400
commit54c359d1e3915653ce07a26e0e574aca5a331cb1 (patch)
tree75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/input_common/drivers/sdl_driver.cpp
parentMerge pull request #9913 from ameerj/acc-dma-refactor (diff)
parentgeneral: fix spelling mistakes (diff)
downloadyuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.gz
yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.xz
yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.zip
Merge pull request #9942 from liamwhite/speling
general: use codespell to identify spelling mistakes
Diffstat (limited to 'src/input_common/drivers/sdl_driver.cpp')
-rw-r--r--src/input_common/drivers/sdl_driver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/drivers/sdl_driver.cpp b/src/input_common/drivers/sdl_driver.cpp
index 5c20b3426..f7f0c7eaa 100644
--- a/src/input_common/drivers/sdl_driver.cpp
+++ b/src/input_common/drivers/sdl_driver.cpp
@@ -748,7 +748,7 @@ ButtonMapping SDLDriver::GetButtonMappingForDevice(const Common::ParamPackage& p
748 748
749 // This list is missing ZL/ZR since those are not considered buttons in SDL GameController. 749 // This list is missing ZL/ZR since those are not considered buttons in SDL GameController.
750 // We will add those afterwards 750 // We will add those afterwards
751 // This list also excludes Screenshot since theres not really a mapping for that 751 // This list also excludes Screenshot since there's not really a mapping for that
752 ButtonBindings switch_to_sdl_button; 752 ButtonBindings switch_to_sdl_button;
753 753
754 if (SDL_GameControllerGetType(controller) == SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO) { 754 if (SDL_GameControllerGetType(controller) == SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_PRO) {
@@ -1007,7 +1007,7 @@ MotionMapping SDLDriver::GetMotionMappingForDevice(const Common::ParamPackage& p
1007 1007
1008Common::Input::ButtonNames SDLDriver::GetUIName(const Common::ParamPackage& params) const { 1008Common::Input::ButtonNames SDLDriver::GetUIName(const Common::ParamPackage& params) const {
1009 if (params.Has("button")) { 1009 if (params.Has("button")) {
1010 // TODO(German77): Find how to substitue the values for real button names 1010 // TODO(German77): Find how to substitute the values for real button names
1011 return Common::Input::ButtonNames::Value; 1011 return Common::Input::ButtonNames::Value;
1012 } 1012 }
1013 if (params.Has("hat")) { 1013 if (params.Has("hat")) {