Added support for the Logitech Cordless Precision PS3 controller

This commit is contained in:
Sam Lantinga
2022-11-30 17:03:29 -08:00
parent 4f9c2b3e2e
commit 36c5d5cc65
2 changed files with 3 additions and 1 deletions

View File

@@ -801,7 +801,7 @@ static SDL_bool HIDAPI_DriverPS3ThirdParty_UpdateDevice(SDL_HIDAPI_Device *devic
continue;
}
if (size == 27) {
if (size >= 19) {
HIDAPI_DriverPS3ThirdParty_HandleStatePacket(joystick, ctx, data, size);
} else {
#ifdef DEBUG_JOYSTICK