Browse Source

Added support for the Razer Wolverine V3 Pro

Sam Lantinga 4 months ago
parent
commit
5ee4d176f1
2 changed files with 3 additions and 1 deletions
  1. 2 1
      src/joystick/SDL_joystick.c
  2. 1 0
      src/joystick/usb_ids.h

+ 2 - 1
src/joystick/SDL_joystick.c

@@ -2957,7 +2957,8 @@ bool SDL_IsJoystickXboxSeriesX(Uint16 vendor_id, Uint16 product_id)
     }
     if (vendor_id == USB_VENDOR_RAZER) {
         if (product_id == USB_PRODUCT_RAZER_WOLVERINE_V2 ||
-            product_id == USB_PRODUCT_RAZER_WOLVERINE_V2_CHROMA) {
+            product_id == USB_PRODUCT_RAZER_WOLVERINE_V2_CHROMA ||
+            product_id == USB_PRODUCT_RAZER_WOLVERINE_V3_PRO) {
             return true;
         }
     }

+ 1 - 0
src/joystick/usb_ids.h

@@ -111,6 +111,7 @@
 #define USB_PRODUCT_RAZER_WOLVERINE_V2_PRO_PS5_WIRELESS   0x100c
 #define USB_PRODUCT_RAZER_WOLVERINE_V2_PRO_XBOX_WIRED     0x1010
 #define USB_PRODUCT_RAZER_WOLVERINE_V2_PRO_XBOX_WIRELESS  0x1011
+#define USB_PRODUCT_RAZER_WOLVERINE_V3_PRO                0x0a3f
 #define USB_PRODUCT_ROG_RAIKIRI                           0x1a38
 #define USB_PRODUCT_SAITEK_CYBORG_V3                      0xf622
 #define USB_PRODUCT_SHANWAN_DS3                           0x0523