Commit 1451299039e4cae0989abbb92749ed6e444f7e9e

Authored by balrog
1 parent 1492a3c4

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
Showing 1 changed file with 3 additions and 1 deletions
hw/usb-hid.c
... ... @@ -262,7 +262,9 @@ static const uint8_t qemu_mouse_hid_report_descriptor[] = {
262 262 0x81, 0x02, 0x95, 0x01, 0x75, 0x05, 0x81, 0x01,
263 263 0x05, 0x01, 0x09, 0x30, 0x09, 0x31, 0x15, 0x81,
264 264 0x25, 0x7F, 0x75, 0x08, 0x95, 0x02, 0x81, 0x06,
265   - 0xC0, 0xC0,
  265 + 0x05, 0x01, 0x09, 0x38, 0x15, 0x81, 0x25, 0x7F,
  266 + 0x35, 0x00, 0x45, 0x00, 0x75, 0x08, 0x95, 0x01,
  267 + 0x81, 0x02, 0xC0, 0xC0,
266 268 };
267 269  
268 270 static const uint8_t qemu_tablet_hid_report_descriptor[] = {
... ...