summaryrefslogtreecommitdiffstats
path: root/src/input_common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-01-15 11:39:58 +0100
committerGitHub <noreply@github.com>2022-01-15 11:39:58 +0100
commit480b03b6456b2fef81226c449493f6425e5137da (patch)
treedcee0f1ff1f8064cfd48d314944c3392fb052f19 /src/input_common
parentMerge pull request #7711 from bunnei/fix-service-thread-race-v2 (diff)
parentChange default name for ps controllers (diff)
downloadyuzu-480b03b6456b2fef81226c449493f6425e5137da.tar
yuzu-480b03b6456b2fef81226c449493f6425e5137da.tar.gz
yuzu-480b03b6456b2fef81226c449493f6425e5137da.tar.bz2
yuzu-480b03b6456b2fef81226c449493f6425e5137da.tar.lz
yuzu-480b03b6456b2fef81226c449493f6425e5137da.tar.xz
yuzu-480b03b6456b2fef81226c449493f6425e5137da.tar.zst
yuzu-480b03b6456b2fef81226c449493f6425e5137da.zip
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/drivers/sdl_driver.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input_common/drivers/sdl_driver.cpp b/src/input_common/drivers/sdl_driver.cpp
index 757117f2b..41701e24d 100644
--- a/src/input_common/drivers/sdl_driver.cpp
+++ b/src/input_common/drivers/sdl_driver.cpp
@@ -201,6 +201,12 @@ public:
return "XBox 360 Controller";
case SDL_CONTROLLER_TYPE_XBOXONE:
return "XBox One Controller";
+ case SDL_CONTROLLER_TYPE_PS3:
+ return "DualShock 3 Controller";
+ case SDL_CONTROLLER_TYPE_PS4:
+ return "DualShock 4 Controller";
+ case SDL_CONTROLLER_TYPE_PS5:
+ return "DualSense Controller";
default:
break;
}