From 41fab8532d56f8b286195edbc2d9bf270fbe5ca0 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 18 Jun 2021 18:10:24 -0700 Subject: [PATCH] ControllerList: set the default deadzone for Ps5 controller back to same one as Xbox controllers. Too many users complained about drift. --- src/joystick/controller_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/controller_type.h b/src/joystick/controller_type.h index 0bdf5ab6a..ffe949491 100644 --- a/src/joystick/controller_type.h +++ b/src/joystick/controller_type.h @@ -699,11 +699,11 @@ static SDL_INLINE int GetDefaultDeadzoneSizeForControllerType( EControllerType e case k_eControllerType_AppleController: case k_eControllerType_AndroidController: case k_eControllerType_PS3Controller: + case k_eControllerType_PS5Controller: return 10000; case k_eControllerType_SteamControllerV2: return 8192; case k_eControllerType_PS4Controller: - case k_eControllerType_PS5Controller: return 4096; case k_eControllerType_SwitchJoyConLeft: case k_eControllerType_SwitchJoyConRight: