Browse Source

ControllerList: setup the ps5 default deadzone to match PS4 instead of defaulting to same a XboxOne/Switch

Sam Lantinga 4 years ago
parent
commit
f0577bc9ea
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/joystick/controller_type.h

+ 1 - 0
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: