Changeset cc5908e in mainline for uspace/lib/usb/src/hidparser.c
- Timestamp:
- 2011-05-07T14:28:51Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 252cf2a, 68b614e
- Parents:
- bd2394b (diff), 7205209 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hidparser.c
rbd2394b rcc5908e 138 138 // array 139 139 item->value = usb_hid_translate_data(item, data); 140 item->usage = (item->value - item->physical_minimum) + item->usage_minimum; 140 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 141 144 } 142 145 else {
Note:
See TracChangeset
for help on using the changeset viewer.