Added distinct VID/PIDs for the PS4 vs Xbox eSwap Pro controllers

This commit is contained in:
Sam Lantinga 2025-02-03 13:26:04 -08:00
parent 84bc2abdad
commit a8a2874ef4
2 changed files with 3 additions and 2 deletions

View file

@ -2963,7 +2963,7 @@ bool SDL_IsJoystickXboxSeriesX(Uint16 vendor_id, Uint16 product_id)
}
}
if (vendor_id == USB_VENDOR_THRUSTMASTER) {
if (product_id == USB_PRODUCT_THRUSTMASTER_ESWAPX_PRO) {
if (product_id == USB_PRODUCT_THRUSTMASTER_ESWAPX_PRO_SERIES_X) {
return true;
}
}