mirror of https://github.com/encounter/SDL.git
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:
parent
a8b28939a6
commit
41fab8532d
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue