summaryrefslogtreecommitdiff
path: root/hw/usb/hid-logitech-dj.h
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-04-01 00:08:56 +0200
committerPeter Wu <peter@lekensteyn.nl>2014-04-01 00:08:56 +0200
commit0a8042251297cb7c213c77d9b9c6b5ded635e76c (patch)
tree452e9865116ba2bc7268e23bf64ec2d938a101aa /hw/usb/hid-logitech-dj.h
parent8442591a795a089a48da1b8b0089612c1e029b51 (diff)
downloadqemu-0a8042251297cb7c213c77d9b9c6b5ded635e76c.tar.gz
unifying: less magic numbers, fix device type for T650
This makes it easier to switch between devices. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'hw/usb/hid-logitech-dj.h')
-rw-r--r--hw/usb/hid-logitech-dj.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/usb/hid-logitech-dj.h b/hw/usb/hid-logitech-dj.h
index b2190932d4..474ab9ac8c 100644
--- a/hw/usb/hid-logitech-dj.h
+++ b/hw/usb/hid-logitech-dj.h
@@ -145,6 +145,9 @@ typedef struct {
#define HIDPP20_ERR_CODE_BUSY 0x08
#define HIDPP20_ERR_CODE_UNSUPPORTED 0x09
+#define WPID_K800 0x2010U
+#define WPID_M525 0x4013U
+#define WPID_T650 0x4101U
/* device and receiver info */
struct firmware_version {