From 8442591a795a089a48da1b8b0089612c1e029b51 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Mon, 31 Mar 2014 16:57:20 +0200 Subject: unifying: add firmware versions for K800, T650 --- hw/usb/hid-logitech-dj.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.1