Changeset e3c78efc in mainline for uspace/drv/bus/usb/usbhid/mouse/mousedev.c
- Timestamp:
- 2011-11-09T12:59:37Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- 6f730278
- Parents:
- 555499da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/mouse/mousedev.c
r555499da re3c78efc 77 77 78 78 /*----------------------------------------------------------------------------*/ 79 80 enum { 81 USB_MOUSE_BOOT_REPORT_DESCRIPTOR_SIZE = 63 82 }; 83 84 static const uint8_t USB_MOUSE_BOOT_REPORT_DESCRIPTOR[ 85 USB_MOUSE_BOOT_REPORT_DESCRIPTOR_SIZE] = { 79 static const uint8_t USB_MOUSE_BOOT_REPORT_DESCRIPTOR[] = { 86 80 0x05, 0x01, // USAGE_PAGE (Generic Desktop) 87 81 0x09, 0x02, // USAGE (Mouse) … … 540 534 int rc = usb_hid_parse_report_descriptor( 541 535 &hid_dev->report, USB_MOUSE_BOOT_REPORT_DESCRIPTOR, 542 USB_MOUSE_BOOT_REPORT_DESCRIPTOR_SIZE);536 sizeof(USB_MOUSE_BOOT_REPORT_DESCRIPTOR)); 543 537 544 538 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.