Commit f0577bc9ea7b25f81fd2865cb39fda3971bfd6fe

Sam Lantinga 2020-12-18T10:09:06

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

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/joystick/controller_type.h b/src/joystick/controller_type.h
index 7b9e1d1..224526f 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: