SDL: Detect the GameSir Super Nova in Xbox 360 mode (a7f93)

From a7f93c5c5597e916a86e8b91b1214c66355c4abb Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 15 May 2026 10:13:15 -0700
Subject: [PATCH] Detect the GameSir Super Nova in Xbox 360 mode

(cherry picked from commit a95ce7e734f8f8b5fa5740a8e40a93cf670db8db)
---
 .../app/src/main/java/org/libsdl/app/HIDDeviceManager.java       | 1 +
 src/hidapi/libusb/hid.c                                          | 1 +
 src/joystick/hidapi/SDL_hidapijoystick.c                         | 1 +
 3 files changed, 3 insertions(+)

diff --git a/android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java b/android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java
index 1fb2bfb4a7185..ef7a0528d17ee 100644
--- a/android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java
+++ b/android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java
@@ -256,6 +256,7 @@ private boolean isXbox360Controller(UsbDevice usbDevice, UsbInterface usbInterfa
             0x24c6, // PowerA
             0x2c22, // Qanba
             0x2dc8, // 8BitDo
+            0x3537, // GameSir
             0x37d7, // Flydigi
             0x9886, // ASTRO Gaming
         };
diff --git a/src/hidapi/libusb/hid.c b/src/hidapi/libusb/hid.c
index 956e982b1a210..c5e68d7e19324 100644
--- a/src/hidapi/libusb/hid.c
+++ b/src/hidapi/libusb/hid.c
@@ -853,6 +853,7 @@ static int is_xbox360(unsigned short vendor_id, const struct libusb_interface_de
 		0x24c6, /* PowerA */
 		0x2c22, /* Qanba */
 		0x2dc8, /* 8BitDo */
+		0x3537, /* GameSir */
 		0x37d7, /* Flydigi */
 		0x9886, /* ASTRO Gaming */
 	};
diff --git a/src/joystick/hidapi/SDL_hidapijoystick.c b/src/joystick/hidapi/SDL_hidapijoystick.c
index d5c7d5f2291c5..0fdaa9ad0208a 100644
--- a/src/joystick/hidapi/SDL_hidapijoystick.c
+++ b/src/joystick/hidapi/SDL_hidapijoystick.c
@@ -285,6 +285,7 @@ static SDL_GamepadType SDL_GetJoystickGameControllerProtocol(const char *name, U
             0x24c6, // PowerA
             0x2c22, // Qanba
             0x2dc8, // 8BitDo
+            0x3537, // GameSir
             0x37d7, // Flydigi
             0x9886, // ASTRO Gaming
         };