Add support for MadCatz Saitek Side Panel Control Deck

Signed-off-by: Marcel Hild <hild@b4mad.net>
This commit is contained in:
Marcel Hild 2024-03-22 16:35:56 +01:00 committed by Sam Lantinga
parent 05b57f6c2c
commit 67e425bcf8
2 changed files with 5 additions and 0 deletions

View file

@ -164,6 +164,10 @@ SDL_bool HIDAPI_SupportsPlaystationDetection(Uint16 vendor, Uint16 product)
}
return SDL_TRUE;
case USB_VENDOR_MADCATZ:
if (product == USB_PRODUCT_MADCATZ_SAITEK_SIDE_PANEL_CONTROL_DECK) {
/* This is not a Playstation compatible device */
return SDL_FALSE;
}
return SDL_TRUE;
case USB_VENDOR_MAYFLASH:
return SDL_TRUE;