Added support for the ZEROPLUS P4 Wired Gamepad to the HIDAPI driver

This commit is contained in:
Sam Lantinga 2022-09-23 16:38:15 -07:00
parent e888c99fa6
commit 33619aa2e9
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@
#define USB_VENDOR_SONY 0x054c #define USB_VENDOR_SONY 0x054c
#define USB_VENDOR_THRUSTMASTER 0x044f #define USB_VENDOR_THRUSTMASTER 0x044f
#define USB_VENDOR_VALVE 0x28de #define USB_VENDOR_VALVE 0x28de
#define USB_VENDOR_ZEROPLUS 0x0c12
#define SONY_THIRDPARTY_VENDOR(X) \ #define SONY_THIRDPARTY_VENDOR(X) \
(X == USB_VENDOR_DRAGONRISE || \ (X == USB_VENDOR_DRAGONRISE || \
@ -60,6 +61,7 @@
X == USB_VENDOR_SHANWAN || \ X == USB_VENDOR_SHANWAN || \
X == USB_VENDOR_SHANWAN_ALT || \ X == USB_VENDOR_SHANWAN_ALT || \
X == USB_VENDOR_THRUSTMASTER || \ X == USB_VENDOR_THRUSTMASTER || \
X == USB_VENDOR_ZEROPLUS || \
X == 0x7545 /* SZ-MYPOWER */) X == 0x7545 /* SZ-MYPOWER */)
#define USB_PRODUCT_8BITDO_XBOX_CONTROLLER 0x2002 #define USB_PRODUCT_8BITDO_XBOX_CONTROLLER 0x2002