This prepares xinput for the upcoming change in setupapi path casing.
Signed-off-by: Arkadiusz Hiler ahiler@codeweavers.com --- dlls/xinput1_3/hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/xinput1_3/hid.c b/dlls/xinput1_3/hid.c index 8aea638a8d7..3a7d3f4ead6 100644 --- a/dlls/xinput1_3/hid.c +++ b/dlls/xinput1_3/hid.c @@ -247,7 +247,7 @@ void HID_find_gamepads(xinput_controller *devices) &interface_data, data, sizeof(*data) + detail_size, NULL, NULL)) continue;
- if (!wcsstr(data->DevicePath, L"IG_")) + if (!wcsstr(data->DevicePath, L"IG_") && !wcsstr(data->DevicePath, L"ig_")) continue;
open_device_idx = -1;