Try to fix USB HID and make the HID reports readable.
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 17 May 2008 19:55:28 +0000 (19:55 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 17 May 2008 19:55:28 +0000 (19:55 +0000)
commit0909a86990f48635399b65bcf148130ef5f0f805
tree5d4863575040df1d164f1a097921a3b255415fae
parentba84e4cbec75db2cc71e9919c3aa43dd0fdf5389
Try to fix USB HID and make the HID reports readable.

Decode HID report Items in the comments.
Invert mouse wheel direction as per Alexander Graf's report and as we already do in the tablet.
Clamp the Relative values to -127:127 as we claimed in the HID descriptors.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4482 c046a42c-6fe2-441c-8c8c-71466251a162
hw/usb-hid.c