diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-03-31 16:57:20 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2014-03-31 16:57:20 +0200 |
commit | 8442591a795a089a48da1b8b0089612c1e029b51 (patch) | |
tree | faeb7fa8b39e556ed70616e58e7c09ab1f484c67 | |
parent | a8d20cd1bd2f22c131a363b6f59b874b23751834 (diff) | |
download | qemu-8442591a795a089a48da1b8b0089612c1e029b51.tar.gz |
unifying: add firmware versions for K800, T650
-rw-r--r-- | hw/usb/hid-logitech-dj.c | 2 |
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; |