From 614a271a24d7809f56b83817d1e926a8f4897a7c Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Mon, 24 Mar 2014 11:54:01 +0100 Subject: unifying: fix report ID for HID++ 2.0 responses The input report ID can be 0x10 or 0x11, the responses are always 0x11. Signed-off-by: Peter Wu --- hw/usb/hid-logitech-dj.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'hw/usb/hid-logitech-dj.c') diff --git a/hw/usb/hid-logitech-dj.c b/hw/usb/hid-logitech-dj.c index 51be0e2410..196b430c43 100644 --- a/hw/usb/hid-logitech-dj.c +++ b/hw/usb/hid-logitech-dj.c @@ -30,14 +30,6 @@ #define COMPILE_ASSERT(cond) typedef char _compile_assert[1 - 2 * !(cond)] -/* Report IDs */ -enum { - HIDPP_SHORT = 0x10, /* 7 bytes */ - HIDPP_LONG = 0x11, /* 20 bytes */ - DJ_SHORT = 0x20, /* 15 bytes */ - DJ_LONG = 0x21, /* 32 bytes */ -}; - /* helpers to handle the HID++ register queries */ #define SET_REG(reg) (0x108000 | (reg)) #define GET_REG(reg) (0x108100 | (reg)) -- cgit v1.2.1