mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
GlobalShortcut_win: log product guid when adding a new DirectInput device.
Previously, we only logged the instance GUID, not the product GUID. With this change, the log line when adding a new device contains both.
This commit is contained in:
parent
8bdfd7d6b2
commit
d3aa65d986
@ -547,12 +547,13 @@ BOOL GlobalShortcutWin::EnumDevicesCB(LPCDIDEVICEINSTANCE pdidi, LPVOID pContext
|
||||
if (FAILED(hr = id->pDID->SetProperty(DIPROP_BUFFERSIZE, &dipdw.diph)))
|
||||
qFatal("GlobalShortcutWin: SetProperty: %lx", hr);
|
||||
|
||||
qWarning("Adding device %s %s %s:%d type 0x%.8x",
|
||||
qWarning("Adding device %s %s %s:%d type 0x%.8x guid product %s",
|
||||
qPrintable(QUuid(id->guid).toString()),
|
||||
qPrintable(name),
|
||||
qPrintable(sname),
|
||||
id->qhNames.count(),
|
||||
pdidi->dwDevType);
|
||||
pdidi->dwDevType,
|
||||
qPrintable(id->vguidproduct.toString()));
|
||||
|
||||
cbgsw->qhInputDevices[id->guid] = id;
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user