mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-18 09:48:38 +08:00
Add support for GIP instruments via hidapi, and drums via gameinput (#16009)
This commit is contained in:
@@ -232,6 +232,7 @@ public class HIDDeviceManager {
|
||||
final int XB360W_IFACE_PROTOCOL = 129; // Wireless
|
||||
final int[] SUPPORTED_VENDORS = {
|
||||
0x0079, // GPD Win 2
|
||||
0x0351, // CRKD
|
||||
0x044f, // Thrustmaster
|
||||
0x045e, // Microsoft
|
||||
0x046d, // Logitech
|
||||
@@ -243,6 +244,7 @@ public class HIDDeviceManager {
|
||||
0x0f0d, // Hori
|
||||
0x1038, // SteelSeries
|
||||
0x11c9, // Nacon
|
||||
0x1209, // Generic
|
||||
0x12ab, // Unknown
|
||||
0x1430, // RedOctane
|
||||
0x146b, // BigBen
|
||||
@@ -257,7 +259,9 @@ public class HIDDeviceManager {
|
||||
0x2c22, // Qanba
|
||||
0x2dc8, // 8BitDo
|
||||
0x3537, // GameSir
|
||||
0x3651, // CRKD
|
||||
0x37d7, // Flydigi
|
||||
0x3958, // Red Octane Games
|
||||
0x9886, // ASTRO Gaming
|
||||
};
|
||||
|
||||
@@ -279,6 +283,7 @@ public class HIDDeviceManager {
|
||||
final int XB1_IFACE_SUBCLASS = 71;
|
||||
final int XB1_IFACE_PROTOCOL = 208;
|
||||
final int[] SUPPORTED_VENDORS = {
|
||||
0x0351, // CRKD
|
||||
0x03f0, // HP
|
||||
0x044f, // Thrustmaster
|
||||
0x045e, // Microsoft
|
||||
@@ -287,6 +292,7 @@ public class HIDDeviceManager {
|
||||
0x0e6f, // PDP
|
||||
0x0f0d, // Hori
|
||||
0x10f5, // Turtle Beach
|
||||
0x1209, // Generic
|
||||
0x1532, // Razer Wildcat
|
||||
0x20d6, // PowerA
|
||||
0x24c6, // PowerA
|
||||
@@ -296,7 +302,9 @@ public class HIDDeviceManager {
|
||||
0x2e95, // SCUF
|
||||
0x3285, // Nacon
|
||||
0x3537, // GameSir
|
||||
0x3651, // CRKD
|
||||
0x366c, // ByoWave
|
||||
0x3958, // Red Octane Games
|
||||
};
|
||||
|
||||
if (usbInterface.getId() == 0 &&
|
||||
|
||||
Reference in New Issue
Block a user