Changeset 7c3fb9b in mainline for uspace/lib/usbhid
- Timestamp:
- 2018-05-17T08:29:01Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- Location:
- uspace/lib/usbhid
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/include/usb/hid/hid_report_items.h
rfac0ac7 r7c3fb9b 53 53 54 54 /** Returns if the item is the short item or long item. Long items are not 55 * supported. */ 55 * supported. 56 */ 56 57 #define USB_HID_ITEM_IS_LONG(data) (data == 0xFE) 57 58 -
uspace/lib/usbhid/include/usb/hid/hidpath.h
rfac0ac7 r7c3fb9b 97 97 /** 98 98 * USB HID usage path structure. 99 * */99 */ 100 100 typedef struct { 101 101 /** Length of usage path */ … … 103 103 104 104 /** Report id. Zero is reserved and means that report id is not used. 105 * */105 */ 106 106 uint8_t report_id; 107 107 -
uspace/lib/usbhid/include/usb/hid/hidtypes.h
rfac0ac7 r7c3fb9b 82 82 83 83 /** Feature report. Describes device configuration information that 84 * can be sent to the device */ 84 * can be sent to the device 85 */ 85 86 USB_HID_REPORT_TYPE_FEATURE = 3 86 87 } usb_hid_report_type_t; -
uspace/lib/usbhid/src/hiddescriptor.c
rfac0ac7 r7c3fb9b 394 394 switch (ret) { 395 395 case USB_HID_NEW_REPORT_ITEM: 396 /* store report item to report and create the 396 /* 397 * store report item to report and create the 397 398 * new one store current collection path 398 399 */ … … 600 601 USB_HID_EXTENDED_USAGE(report_item->usages[report_item->usages_count - 1])); 601 602 602 /* append the new one which will be set by common usage/usage 603 * page */ 603 /* 604 * append the new one which will be set by common usage/usage 605 * page 606 */ 604 607 usb_hid_report_path_append_item(usage_path, 605 608 report_item->usage_page,
Note:
See TracChangeset
for help on using the changeset viewer.