mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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
1 changed files with 7 additions and 1 deletions
|
@ -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 a new issue