qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5232] Fix range in the hid report descriptor for USB table


From: Andrzej Zaborowski
Subject: [Qemu-devel] [5232] Fix range in the hid report descriptor for USB tablet.
Date: Mon, 15 Sep 2008 22:26:36 +0000

Revision: 5232
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5232
Author:   balrog
Date:     2008-09-15 22:26:35 +0000 (Mon, 15 Sep 2008)

Log Message:
-----------
Fix range in the hid report descriptor for USB tablet.

Should prevent the ugly wrapping due to a typo in an earlier commit.
Fix by Gregor (address@hidden).

Modified Paths:
--------------
    trunk/hw/usb-hid.c

Modified: trunk/hw/usb-hid.c
===================================================================
--- trunk/hw/usb-hid.c  2008-09-15 16:48:11 UTC (rev 5231)
+++ trunk/hw/usb-hid.c  2008-09-15 22:26:35 UTC (rev 5232)
@@ -306,9 +306,9 @@
     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) */






reply via email to

[Prev in Thread] Current Thread [Next in Thread]