summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/usb/hid-logitech-dj.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb/hid-logitech-dj.c b/hw/usb/hid-logitech-dj.c
index fd49d178da..0cfafc293a 100644
--- a/hw/usb/hid-logitech-dj.c
+++ b/hw/usb/hid-logitech-dj.c
@@ -587,6 +587,7 @@ static void hidpp_init_device(USBLtunifyState *s, int device_index, int devtype)
hd->info.protocol_version = 0x0200; /* HID++ 2.0 */
switch (devtype) {
case DEVTYPE_KEYBOARD:
+ hd->info.version = (struct firmware_version) { 0x22, 0x01, 0x19, 2, 1 };
hd->info.protocol_version = 0x0100; /* override: HID++ 1.0 */
hd->hid = &s->hid[IFACE_KBD];
hd->info.report_types = 0x1a; /* Keyboard, Consumer Control, System Control */
@@ -612,6 +613,7 @@ static void hidpp_init_device(USBLtunifyState *s, int device_index, int devtype)
case DEVTYPE_MOUSE:
case DEVTYPE_TOUCHPAD:
/* TODO: perhaps "unpair" mouse and use this touchpad instead? */
+ hd->info.version = (struct firmware_version) { 0x41, 0x01, 0x37, 3, 0 };
hd->hid = &s->hid[IFACE_MSE];
hd->info.report_types = 0x0e; /* Keyboard, Mouse, Consumer Ctrl */
hd->info.wireless_pid = 0x4101;