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;
}