diff --git a/hw/usb-hid.c b/hw/usb-hid.c index 3f8529a31c9b8d482d5c11185906b66c58dd1a24..406c9ab8395db16d7ad4b652cef6ca0c7f08f95a 100644 --- a/hw/usb-hid.c +++ b/hw/usb-hid.c @@ -306,9 +306,9 @@ static const uint8_t qemu_tablet_hid_report_descriptor[] = { 0x09, 0x30, /* Usage (X) */ 0x09, 0x31, /* Usage (Y) */ 0x15, 0x00, /* Logical Minimum (0) */ - 0x26, 0xfe, 0x7f, /* Logical Maximum (0x7fff) */ + 0x26, 0xff, 0x7f, /* Logical Maximum (0x7fff) */ 0x35, 0x00, /* Physical Minimum (0) */ - 0x46, 0xfe, 0x7f, /* Physical Maximum (0x7fff) */ + 0x46, 0xff, 0x7f, /* Physical Maximum (0x7fff) */ 0x75, 0x10, /* Report Size (16) */ 0x95, 0x02, /* Report Count (2) */ 0x81, 0x02, /* Input (Data, Variable, Absolute) */