ControllerList: set the default deadzone for Ps5 controller back to same one as Xbox controllers. Too many users complained about drift.

This commit is contained in:
Sam Lantinga 2021-06-18 18:10:24 -07:00
parent a8b28939a6
commit 41fab8532d
1 changed files with 1 additions and 1 deletions

View File

@ -699,11 +699,11 @@ static SDL_INLINE int GetDefaultDeadzoneSizeForControllerType( EControllerType e
case k_eControllerType_AppleController: case k_eControllerType_AppleController:
case k_eControllerType_AndroidController: case k_eControllerType_AndroidController:
case k_eControllerType_PS3Controller: case k_eControllerType_PS3Controller:
case k_eControllerType_PS5Controller:
return 10000; return 10000;
case k_eControllerType_SteamControllerV2: case k_eControllerType_SteamControllerV2:
return 8192; return 8192;
case k_eControllerType_PS4Controller: case k_eControllerType_PS4Controller:
case k_eControllerType_PS5Controller:
return 4096; return 4096;
case k_eControllerType_SwitchJoyConLeft: case k_eControllerType_SwitchJoyConLeft:
case k_eControllerType_SwitchJoyConRight: case k_eControllerType_SwitchJoyConRight: