mayflash adapter PS4 support

(cherry picked from commit d6ebbc2fa4)
This commit is contained in:
Ningyuan Li 2024-01-20 00:39:47 +09:00 committed by Sam Lantinga
parent b16ef14c7c
commit 138fe3d43d
2 changed files with 3 additions and 0 deletions

View File

@ -169,6 +169,8 @@ SDL_bool HIDAPI_SupportsPlaystationDetection(Uint16 vendor, Uint16 product)
return SDL_TRUE;
case USB_VENDOR_MADCATZ:
return SDL_TRUE;
case USB_VENDOR_MAYFLASH:
return SDL_TRUE;
case USB_VENDOR_NACON:
case USB_VENDOR_NACON_ALT:
return SDL_TRUE;

View File

@ -36,6 +36,7 @@
#define USB_VENDOR_HYPERKIN 0x2e24
#define USB_VENDOR_LOGITECH 0x046d
#define USB_VENDOR_MADCATZ 0x0738
#define USB_VENDOR_MAYFLASH 0x33df
#define USB_VENDOR_MICROSOFT 0x045e
#define USB_VENDOR_NACON 0x146b
#define USB_VENDOR_NACON_ALT 0x3285