summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/sdl_driver.cpp
diff options
context:
space:
mode:
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")) {