Commit 44551cfe authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

user32: Return RIDI_DEVICENAME for HID devices from GetRawInputDeviceInfo().

parent e745a482
......@@ -365,11 +365,17 @@ UINT WINAPI GetRawInputDeviceInfoW(HANDLE device, UINT command, void *data, UINT
s = sizeof(mouse_name);
name = mouse_name;
}
else
else if (device == WINE_KEYBOARD_HANDLE)
{
s = sizeof(keyboard_name);
name = keyboard_name;
}
else
{
hid_device = device;
s = (strlenW(hid_device->path) + 1) * sizeof(WCHAR);
name = hid_device->path;
}
break;
case RIDI_DEVICEINFO:
s = sizeof(*info);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment