Added support for the Victrix Gambit Tournament Controller

This commit is contained in:
Sam Lantinga
2021-07-30 18:23:42 -07:00
parent 243a8836af
commit 6af6950dbc
4 changed files with 12 additions and 4 deletions

View File

@@ -1963,8 +1963,9 @@ SDL_IsJoystickXboxSeriesX(Uint16 vendor_id, Uint16 product_id)
}
}
if (vendor_id == USB_VENDOR_PDP) {
if (product_id == USB_PRODUCT_XBOX_SERIES_X_PDP_AFTERGLOW ||
product_id == USB_PRODUCT_XBOX_SERIES_X_PDP_BLUE) {
if (product_id == USB_PRODUCT_XBOX_SERIES_X_VICTRIX_GAMBIT ||
product_id == USB_PRODUCT_XBOX_SERIES_X_PDP_BLUE ||
product_id == USB_PRODUCT_XBOX_SERIES_X_PDP_AFTERGLOW) {
return SDL_TRUE;
}
}