summaryrefslogtreecommitdiff
path: root/hw/usb/hid-logitech-dj.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-03-31 12:50:13 +0200
committerPeter Wu <peter@lekensteyn.nl>2014-03-31 13:06:45 +0200
commit8d61d8cd7379be99075e674894a89e144ef20b91 (patch)
treeba16d7bee2c8e7ed1d75aecdf3a88ecbf443ae96 /hw/usb/hid-logitech-dj.c
parent7beab627e87ee378969fd46b7c799de696fc500a (diff)
downloadqemu-8d61d8cd7379be99075e674894a89e144ef20b91.tar.gz
unifying: Fix PID of T650 touchpad
Also safe-guard against missing feature array for HID++ 2.0 devices. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/hid-logitech-dj.c b/hw/usb/hid-logitech-dj.c
index 0728be47f6..fd49d178da 100644
--- a/hw/usb/hid-logitech-dj.c
+++ b/hw/usb/hid-logitech-dj.c
@@ -614,7 +614,7 @@ static void hidpp_init_device(USBLtunifyState *s, int device_index, int devtype)
/* TODO: perhaps "unpair" mouse and use this touchpad instead? */
hd->hid = &s->hid[IFACE_MSE];
hd->info.report_types = 0x0e; /* Keyboard, Mouse, Consumer Ctrl */
- hd->info.wireless_pid = 0x4026;
+ hd->info.wireless_pid = 0x4101;
hd->info.serial = 0x4f4f4f48;
memcpy(hd->info.name, "T650", 4);
hd->info.device_name = "Rechargeable Touchpad T650";