Changeset 68b614e in mainline for uspace/lib/usb/src/hidparser.c
- Timestamp:
- 2011-05-08T16:00:58Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f50f722
- Parents:
- cc5908e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hidparser.c
rcc5908e r68b614e 111 111 usb_hid_report_description_t *report_des; 112 112 usb_hid_report_type_t type = USB_HID_REPORT_TYPE_INPUT; 113 113 114 114 if(report == NULL) { 115 115 return EINVAL; … … 140 140 141 141 item->usage = USB_HID_EXTENDED_USAGE(item->usages[item->value - item->physical_minimum]); 142 item->usage_page = USB_HID_EXTENDED_USAGE_PAGE(item->usages[item->value - item->physical_minimum]); 143 142 item->usage_page = USB_HID_EXTENDED_USAGE_PAGE(item->usages[item->value - item->physical_minimum]); 143 144 usb_hid_report_set_last_item (item->collection_path, 145 USB_HID_TAG_CLASS_GLOBAL, 146 item->usage_page); 147 usb_hid_report_set_last_item (item->collection_path, 148 USB_HID_TAG_CLASS_LOCAL, 149 item->usage); 150 144 151 } 145 152 else { … … 150 157 list_item = list_item->next; 151 158 } 152 159 153 160 return EOK; 154 161
Note:
See TracChangeset
for help on using the changeset viewer.