Changeset b72efe8 in mainline for uspace/lib/usbhid/include/usb
- Timestamp:
- 2011-06-19T14:38:59Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 74464e8
- Parents:
- 1d1bb0f
- Location:
- uspace/lib/usbhid/include/usb/hid
- Files:
-
- 3 edited
-
hiddescriptor.h (modified) (1 diff)
-
hidpath.h (modified) (2 diffs)
-
hidtypes.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/include/usb/hid/hiddescriptor.h
r1d1bb0f rb72efe8 74 74 usb_hid_report_path_t *usage_path); 75 75 76 void usb_hid_descriptor_print_list(li nk_t *head);76 void usb_hid_descriptor_print_list(list_t *list); 77 77 78 78 void usb_hid_report_reset_local_items(usb_hid_report_item_t *report_item); 79 79 80 void usb_hid_free_report_list(li nk_t *head);80 void usb_hid_free_report_list(list_t *list); 81 81 82 82 usb_hid_report_item_t *usb_hid_report_item_clone( -
uspace/lib/usbhid/include/usb/hid/hidpath.h
r1d1bb0f rb72efe8 88 88 uint8_t flags; 89 89 90 /** Link ed list structure*/91 link_t link;90 /** Link to usb_hid_report_path_t.items list */ 91 link_t rpath_items_link; 92 92 } usb_hid_report_usage_path_t; 93 93 … … 98 98 * */ 99 99 typedef struct { 100 /** Length of usage path */ 101 int depth; 100 /** Length of usage path */ 101 int depth; 102 102 103 103 /** Report id. Zero is reserved and means that report id is not used. 104 104 * */ 105 105 uint8_t report_id; 106 107 /** Linked list structure. */108 link_t link; /* list */109 106 110 /** Head of the list of usage path items. */111 link_t head;107 /** Link to usb_hid_report_path_t.collection_paths list. */ 108 link_t cpath_link; 112 109 110 /** List of usage path items. */ 111 list_t items; /* of usb_hid_report_usage_path_t */ 113 112 } usb_hid_report_path_t; 114 113 -
uspace/lib/usbhid/include/usb/hid/hidtypes.h
r1d1bb0f rb72efe8 95 95 int report_count; 96 96 97 /** Head of linked list of description of reports. */98 li nk_t reports;99 100 /** Head of linked list of all used usage/collection paths. */101 li nk_t collection_paths;97 /** List of description of reports. */ 98 list_t reports; /* of usb_hid_report_description_t */ 99 100 /** List of all used usage/collection paths. */ 101 list_t collection_paths; 102 102 103 103 /** Length of list of usage paths. */ … … 129 129 size_t item_length; 130 130 131 /** Li nked list of report items in report */132 li nk_t report_items;133 134 /** Link ed list of descriptions. */135 link_t link;131 /** List of report items in report */ 132 list_t report_items; 133 134 /** Link to usb_hid_report_t.reports list. */ 135 link_t reports_link; 136 136 } usb_hid_report_description_t; 137 137 /*---------------------------------------------------------------------------*/ … … 198 198 int32_t value; 199 199 200 /** Li st to another report items*/201 link_t link;200 /** Link to usb_hid_report_description_t.report_items list */ 201 link_t ritems_link; 202 202 } usb_hid_report_field_t; 203 203
Note:
See TracChangeset
for help on using the changeset viewer.
