aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-14 02:25:44 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-14 02:25:44 +0000
commit1451299039e4cae0989abbb92749ed6e444f7e9e (patch)
tree2253e1b831942b833cd65e927eca5ee3ca5eb3ee
parent1492a3c467c5f8659ded7ef5383514f8264f8aa0 (diff)
Add mouse wheel in the usb-mouse HID Report (by Daniel Godás).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3906 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/usb-hid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/usb-hid.c b/hw/usb-hid.c
index 6ea6c4da5e..1453b42d80 100644
--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -262,7 +262,9 @@ static const uint8_t qemu_mouse_hid_report_descriptor[] = {
0x81, 0x02, 0x95, 0x01, 0x75, 0x05, 0x81, 0x01,
0x05, 0x01, 0x09, 0x30, 0x09, 0x31, 0x15, 0x81,
0x25, 0x7F, 0x75, 0x08, 0x95, 0x02, 0x81, 0x06,
- 0xC0, 0xC0,
+ 0x05, 0x01, 0x09, 0x38, 0x15, 0x81, 0x25, 0x7F,
+ 0x35, 0x00, 0x45, 0x00, 0x75, 0x08, 0x95, 0x01,
+ 0x81, 0x02, 0xC0, 0xC0,
};
static const uint8_t qemu_tablet_hid_report_descriptor[] = {