|
@@ -144,7 +144,7 @@ static const USBDescIface desc_iface_tablet = {
|
|
.bInterfaceNumber = 0,
|
|
.bInterfaceNumber = 0,
|
|
.bNumEndpoints = 1,
|
|
.bNumEndpoints = 1,
|
|
.bInterfaceClass = USB_CLASS_HID,
|
|
.bInterfaceClass = USB_CLASS_HID,
|
|
- .bInterfaceProtocol = 0x02,
|
|
|
|
|
|
+ .bInterfaceProtocol = 0x00,
|
|
.ndesc = 1,
|
|
.ndesc = 1,
|
|
.descs = (USBDescOther[]) {
|
|
.descs = (USBDescOther[]) {
|
|
{
|
|
{
|
|
@@ -174,7 +174,7 @@ static const USBDescIface desc_iface_tablet2 = {
|
|
.bInterfaceNumber = 0,
|
|
.bInterfaceNumber = 0,
|
|
.bNumEndpoints = 1,
|
|
.bNumEndpoints = 1,
|
|
.bInterfaceClass = USB_CLASS_HID,
|
|
.bInterfaceClass = USB_CLASS_HID,
|
|
- .bInterfaceProtocol = 0x02,
|
|
|
|
|
|
+ .bInterfaceProtocol = 0x00,
|
|
.ndesc = 1,
|
|
.ndesc = 1,
|
|
.descs = (USBDescOther[]) {
|
|
.descs = (USBDescOther[]) {
|
|
{
|
|
{
|
|
@@ -487,7 +487,7 @@ static const uint8_t qemu_mouse_hid_report_descriptor[] = {
|
|
|
|
|
|
static const uint8_t qemu_tablet_hid_report_descriptor[] = {
|
|
static const uint8_t qemu_tablet_hid_report_descriptor[] = {
|
|
0x05, 0x01, /* Usage Page (Generic Desktop) */
|
|
0x05, 0x01, /* Usage Page (Generic Desktop) */
|
|
- 0x09, 0x01, /* Usage (Pointer) */
|
|
|
|
|
|
+ 0x09, 0x02, /* Usage (Mouse) */
|
|
0xa1, 0x01, /* Collection (Application) */
|
|
0xa1, 0x01, /* Collection (Application) */
|
|
0x09, 0x01, /* Usage (Pointer) */
|
|
0x09, 0x01, /* Usage (Pointer) */
|
|
0xa1, 0x00, /* Collection (Physical) */
|
|
0xa1, 0x00, /* Collection (Physical) */
|