Changeset f3b39b4 in mainline for uspace/lib/usbhid/include/usb/hid/hidpath.h
- Timestamp:
- 2011-05-26T20:43:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d861c22
- Parents:
- 14e1bcc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/include/usb/hid/hidpath.h
r14e1bcc rf3b39b4 42 42 43 43 /*---------------------------------------------------------------------------*/ 44 /* *44 /* 45 45 * Flags of usage paths comparison modes. 46 46 * 47 47 */ 48 /** Wanted usage path must be exactly the same as the searched one. 49 * Thisoption cannot be combined with the others.48 /** Wanted usage path must be exactly the same as the searched one. This 49 * option cannot be combined with the others. 50 50 */ 51 51 #define USB_HID_PATH_COMPARE_STRICT 0 … … 57 57 58 58 /** 59 * Only usage page are compared along the usage path. 60 * This option can becombined with others.59 * Only usage page are compared along the usage path. This option can be 60 * combined with others. 61 61 */ 62 62 #define USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY 2 … … 101 101 int depth; 102 102 103 /** Report id. Zero is reserved and means that report id is not used. */ 103 /** Report id. Zero is reserved and means that report id is not used. 104 * */ 104 105 uint8_t report_id; 105 106 … … 117 118 void usb_hid_report_path_free(usb_hid_report_path_t *path); 118 119 119 int usb_hid_report_path_set_report_id(usb_hid_report_path_t *usage_path, 120 120 int usb_hid_report_path_set_report_id(usb_hid_report_path_t *usage_path, 121 uint8_t report_id); 121 122 122 123 int usb_hid_report_path_append_item(usb_hid_report_path_t *usage_path, 123 124 int32_t usage_page, int32_t usage); 124 125 125 126 void usb_hid_report_remove_last_item(usb_hid_report_path_t *usage_path); … … 128 129 129 130 void usb_hid_report_set_last_item(usb_hid_report_path_t *usage_path, 130 131 int32_t tag, int32_t data); 131 132 132 int usb_hid_report_compare_usage_path(usb_hid_report_path_t *report_path, 133 133 int usb_hid_report_compare_usage_path(usb_hid_report_path_t *report_path, 134 usb_hid_report_path_t *path, int flags); 134 135 135 usb_hid_report_path_t *usb_hid_report_path_clone(usb_hid_report_path_t *usage_path); 136 usb_hid_report_path_t *usb_hid_report_path_clone( 137 usb_hid_report_path_t *usage_path); 136 138 137 139 void usb_hid_print_usage_path(usb_hid_report_path_t *path);
Note:
See TracChangeset
for help on using the changeset viewer.