From 7978ea4e8c926f431628c72d4f6776b865b3bb1a Mon Sep 17 00:00:00 2001 From: gidoly <66776795+gidoly@users.noreply.github.com> Date: Sat, 15 Jan 2022 10:29:42 +0900 Subject: [PATCH] Change default name for ps controllers Minor nitpick Code is from narr --- src/input_common/drivers/sdl_driver.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/input_common/drivers/sdl_driver.cpp b/src/input_common/drivers/sdl_driver.cpp index 757117f2b5..41701e24d7 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; }