diff options
| author | 2023-03-11 22:10:38 -0500 | |
|---|---|---|
| committer | 2023-03-12 11:33:01 -0400 | |
| commit | 600f325d87e42f856da58c42a5280f098ebb6e8c (patch) | |
| tree | 75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/input_common/drivers/sdl_driver.cpp | |
| parent | general: use codespell to identify spelling mistakes (diff) | |
| download | yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.gz yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.xz yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.zip | |
general: fix spelling mistakes
Diffstat (limited to 'src/input_common/drivers/sdl_driver.cpp')
| -rw-r--r-- | src/input_common/drivers/sdl_driver.cpp | 4 |
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 | ||
| 1008 | Common::Input::ButtonNames SDLDriver::GetUIName(const Common::ParamPackage& params) const { | 1008 | Common::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")) { |