user32: Return RIDI_DEVICENAME for HID devices from GetRawInputDeviceInfo().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e745a482d1
commit
44551cfe19
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue