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

From 33619aa2e9749251b161f62e310611063754751b Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 23 Sep 2022 16:38:15 -0700
Subject: [PATCH] Added support for the ZEROPLUS P4 Wired Gamepad to the HIDAPI
 driver

---
 src/joystick/usb_ids.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/joystick/usb_ids.h b/src/joystick/usb_ids.h
index 301de649cc3..7c006d1e61d 100644
--- a/src/joystick/usb_ids.h
+++ b/src/joystick/usb_ids.h
@@ -46,6 +46,7 @@
 #define USB_VENDOR_SONY         0x054c
 #define USB_VENDOR_THRUSTMASTER 0x044f
 #define USB_VENDOR_VALVE        0x28de
+#define USB_VENDOR_ZEROPLUS     0x0c12
 
 #define SONY_THIRDPARTY_VENDOR(X)       \
     (X == USB_VENDOR_DRAGONRISE     ||  \
@@ -60,6 +61,7 @@
      X == USB_VENDOR_SHANWAN        ||  \
      X == USB_VENDOR_SHANWAN_ALT    ||  \
      X == USB_VENDOR_THRUSTMASTER   ||  \
+     X == USB_VENDOR_ZEROPLUS       ||  \
      X == 0x7545 /* SZ-MYPOWER */)
 
 #define USB_PRODUCT_8BITDO_XBOX_CONTROLLER                  0x2002