Added support for the SteelSeries Stratus Duo

This commit is contained in:
Sam Lantinga
2019-12-16 17:11:23 -08:00
parent bc430d405c
commit 52b6ab2196
6 changed files with 11 additions and 12 deletions

View File

@@ -556,8 +556,8 @@ struct hid_device_info HID_API_EXPORT * HID_API_CALL hid_enumerate(unsigned shor
#if HAVE_PLATFORM_BACKEND
for (raw_dev = raw_devs; raw_dev; raw_dev = raw_dev->next) {
if (usb_dev->vendor_id == raw_dev->vendor_id &&
usb_dev->product_id == raw_dev->product_id) {
usb_dev->product_id == raw_dev->product_id &&
usb_dev->interface_number == raw_dev->interface_number) {
bFound = SDL_TRUE;
break;
}

View File

@@ -493,6 +493,7 @@ static int is_xbox360(unsigned short vendor_id, const struct libusb_interface_de
0x07ff, /* Mad Catz */
0x0e6f, /* PDP */
0x0f0d, /* Hori */
0x1038, /* SteelSeries */
0x11c9, /* Nacon */
0x12ab, /* Unknown */
0x1430, /* RedOctane */