Don't send output reports to the Victrix Pro FS v2

It'll hang on reboot if it gets output reports, and it doesn't have functionality that requires them, so skip it.
This commit is contained in:
Sam Lantinga
2022-01-16 09:23:58 -08:00
parent 85961b61a1
commit 09aed1020b
2 changed files with 7 additions and 0 deletions

View File

@@ -177,6 +177,12 @@ static SDL_bool HIDAPI_DriverPS4_CanRumble(Uint16 vendor_id, Uint16 product_id)
(product_id == USB_PRODUCT_RAZER_PANTHERA || product_id == USB_PRODUCT_RAZER_PANTHERA_EVO)) {
return SDL_FALSE;
}
/* The Victrix Pro FS v2 will hang on reboot if we send output reports */
if (vendor_id == USB_VENDOR_PDP && product_id == USB_PRODUCT_VICTRIX_FS_PRO_V2) {
return SDL_FALSE;
}
return SDL_TRUE;
}