Add PID for red octane games, as they support sony detection

(cherry picked from commit 205777210e)
This commit is contained in:
Sanjay Govind
2026-06-09 10:38:47 +08:00
committed by Sam Lantinga
parent 0ccd792a5d
commit 218522e123
2 changed files with 3 additions and 0 deletions

View File

@@ -213,6 +213,8 @@ bool HIDAPI_SupportsPlaystationDetection(Uint16 vendor, Uint16 product)
* https://github.com/libsdl-org/SDL/issues/6799
*/
return false;
case USB_VENDOR_RED_OCTANE_GAMES:
return true;
case USB_VENDOR_SHANWAN:
return true;
case USB_VENDOR_SHANWAN_ALT:

View File

@@ -54,6 +54,7 @@
#define USB_VENDOR_QANBA 0x2c22
#define USB_VENDOR_RAZER 0x1532
#define USB_VENDOR_RED_OCTANE 0x1430
#define USB_VENDOR_RED_OCTANE_GAMES 0x3958
#define USB_VENDOR_SAITEK 0x06a3
#define USB_VENDOR_SCEA 0x12ba
#define USB_VENDOR_SHANWAN 0x2563