1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

winebus: Append is_gamepad to the device instance id.

This commit is contained in:
Rémi Bernon 2023-09-27 08:24:58 +02:00 committed by Alexandre Julliard
parent 1932c3a251
commit ef31616393

View file

@ -189,7 +189,10 @@ static WCHAR *get_instance_id(DEVICE_OBJECT *device)
WCHAR *dst;
if ((dst = ExAllocatePool(PagedPool, len * sizeof(WCHAR))))
swprintf(dst, len, L"%i&%s&%x&%i", ext->desc.version, ext->desc.serialnumber, ext->desc.uid, ext->index);
{
swprintf(dst, len, L"%u&%s&%x&%u&%u", ext->desc.version, ext->desc.serialnumber,
ext->desc.uid, ext->index, ext->desc.is_gamepad);
}
return dst;
}