mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-21 14:20:55 +00:00
Add support for GIP instruments via hidapi, and drums via gameinput (#16009)
This commit is contained in:
@@ -945,6 +945,7 @@ static int is_xbox360(unsigned short vendor_id, const struct libusb_interface_de
|
||||
static const int xb360w_iface_protocol = 129; /* Wireless */
|
||||
static const int supported_vendors[] = {
|
||||
0x0079, /* GPD Win 2 */
|
||||
0x0351, /* CRKD */
|
||||
0x044f, /* Thrustmaster */
|
||||
0x045e, /* Microsoft */
|
||||
0x046d, /* Logitech */
|
||||
@@ -956,6 +957,7 @@ static int is_xbox360(unsigned short vendor_id, const struct libusb_interface_de
|
||||
0x0f0d, /* Hori */
|
||||
0x1038, /* SteelSeries */
|
||||
0x11c9, /* Nacon */
|
||||
0x1209, /* Generic */
|
||||
0x12ab, /* Unknown */
|
||||
0x1430, /* RedOctane */
|
||||
0x146b, /* BigBen */
|
||||
@@ -970,7 +972,9 @@ static int is_xbox360(unsigned short vendor_id, const struct libusb_interface_de
|
||||
0x2c22, /* Qanba */
|
||||
0x2dc8, /* 8BitDo */
|
||||
0x3537, /* GameSir */
|
||||
0x3651, /* CRKD */
|
||||
0x37d7, /* Flydigi */
|
||||
0x3958, /* Red Octane Games */
|
||||
0x9886, /* ASTRO Gaming */
|
||||
};
|
||||
|
||||
@@ -993,6 +997,7 @@ static int is_xboxone(unsigned short vendor_id, const struct libusb_interface_de
|
||||
static const int xb1_iface_subclass = 71;
|
||||
static const int xb1_iface_protocol = 208;
|
||||
static const int supported_vendors[] = {
|
||||
0x0351, /* CRKD */
|
||||
0x03f0, /* HP */
|
||||
0x044f, /* Thrustmaster */
|
||||
0x045e, /* Microsoft */
|
||||
@@ -1001,6 +1006,7 @@ static int is_xboxone(unsigned short vendor_id, const struct libusb_interface_de
|
||||
0x0e6f, /* PDP */
|
||||
0x0f0d, /* Hori */
|
||||
0x10f5, /* Turtle Beach */
|
||||
0x1209, /* Generic */
|
||||
0x1532, /* Razer Wildcat */
|
||||
0x20d6, /* PowerA */
|
||||
0x24c6, /* PowerA */
|
||||
@@ -1010,7 +1016,9 @@ static int is_xboxone(unsigned short vendor_id, const struct libusb_interface_de
|
||||
0x2e95, /* SCUF */
|
||||
0x3285, /* Nacon */
|
||||
0x3537, /* GameSir */
|
||||
0x3651, /* CRKD */
|
||||
0x366c, /* ByoWave */
|
||||
0x3958, /* Red Octane Games */
|
||||
};
|
||||
|
||||
if (intf_desc->bInterfaceNumber == 0 &&
|
||||
|
||||
Reference in New Issue
Block a user