From f0577bc9ea7b25f81fd2865cb39fda3971bfd6fe Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 18 Dec 2020 10:09:06 -0800 Subject: [PATCH] ControllerList: setup the ps5 default deadzone to match PS4 instead of defaulting to same a XboxOne/Switch --- src/joystick/controller_type.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/joystick/controller_type.h b/src/joystick/controller_type.h index 7b9e1d1bcc..224526fd8f 100644 --- a/src/joystick/controller_type.h +++ b/src/joystick/controller_type.h @@ -695,6 +695,7 @@ static SDL_INLINE int GetDefaultDeadzoneSizeForControllerType( EControllerType e case k_eControllerType_SteamControllerV2: return 8192; case k_eControllerType_PS4Controller: + case k_eControllerType_PS5Controller: return 4096; case k_eControllerType_SwitchJoyConLeft: case k_eControllerType_SwitchJoyConRight: