summaryrefslogtreecommitdiff
path: root/hw/usb/hid-logitech-dj.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-03-24 22:23:26 +0100
committerPeter Wu <peter@lekensteyn.nl>2014-03-24 22:23:26 +0100
commit1f5a4c0f0c6b7dde640dca9b949fe3e6d7ee66f2 (patch)
tree0071259e462924350037bf4d557c1a796455d5b5 /hw/usb/hid-logitech-dj.c
parent9cccf4cf2206a7ab4ebb75bd9ba87ec8a9d33328 (diff)
downloadqemu-1f5a4c0f0c6b7dde640dca9b949fe3e6d7ee66f2.tar.gz
unifying: add fw version for M525, fix fw indices
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'hw/usb/hid-logitech-dj.c')
-rw-r--r--hw/usb/hid-logitech-dj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/hid-logitech-dj.c b/hw/usb/hid-logitech-dj.c
index bc293a2dc5..d10e58d1bb 100644
--- a/hw/usb/hid-logitech-dj.c
+++ b/hw/usb/hid-logitech-dj.c
@@ -588,6 +588,7 @@ static void hidpp_init_device(USBLtunifyState *s, int device_index, int devtype)
hd->report_interval = 20;
break;
case DEVTYPE_MOUSE:
+ hd->info.version = (struct firmware_version) { 0x27, 0x02, 0x28, 0, 0 };
hd->hid = &s->hid[IFACE_MSE];
hd->info.report_types = 4; /* HID Collection: Mouse */
hd->info.wireless_pid = 0x4013;