Added support for the HORI Fighting Commander OCTA (Xbox Series X and PS versions)

This commit is contained in:
Sam Lantinga 2022-09-16 15:41:35 -07:00
parent 5fba31f6fb
commit 2e9f5b5989
6 changed files with 22 additions and 13 deletions
src/joystick

View file

@ -2214,6 +2214,11 @@ SDL_IsJoystickXboxSeriesX(Uint16 vendor_id, Uint16 product_id)
return SDL_TRUE;
}
}
if (vendor_id == USB_VENDOR_HORI) {
if (product_id == USB_PRODUCT_HORI_FIGHTING_COMMANDER_OCTA_SERIES_X) {
return SDL_TRUE;
}
}
if (vendor_id == USB_VENDOR_8BITDO) {
if (product_id == USB_PRODUCT_8BITDO_XBOX_CONTROLLER) {
return SDL_TRUE;