Explorar o código

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

Sam Lantinga %!s(int64=5) %!d(string=hai) anos
pai
achega
f0577bc9ea
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: