mirror of https://github.com/encounter/SDL.git
Added support for the ZEROPLUS P4 Wired Gamepad to the HIDAPI driver
This commit is contained in:
parent
e888c99fa6
commit
33619aa2e9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue