Changes in uspace/lib/usbhid/include/usb/hid/hidpath.h [f3b39b4:74b1e40] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/include/usb/hid/hidpath.h
rf3b39b4 r74b1e40 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. This49 * option cannot be combined with the others.48 /** Wanted usage path must be exactly the same as the searched one. 49 * This 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. This option can be60 * combined with others.59 * Only usage page are compared along the usage path. 60 * This option can be 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. 104 * */ 103 /** Report id. Zero is reserved and means that report id is not used. */ 105 104 uint8_t report_id; 106 105 … … 118 117 void usb_hid_report_path_free(usb_hid_report_path_t *path); 119 118 120 int usb_hid_report_path_set_report_id(usb_hid_report_path_t *usage_path, 121 119 int usb_hid_report_path_set_report_id(usb_hid_report_path_t *usage_path, 120 uint8_t report_id); 122 121 123 122 int usb_hid_report_path_append_item(usb_hid_report_path_t *usage_path, 124 123 int32_t usage_page, int32_t usage); 125 124 126 125 void usb_hid_report_remove_last_item(usb_hid_report_path_t *usage_path); … … 129 128 130 129 void usb_hid_report_set_last_item(usb_hid_report_path_t *usage_path, 131 130 int32_t tag, int32_t data); 132 131 133 int usb_hid_report_compare_usage_path(usb_hid_report_path_t *report_path, 134 132 int usb_hid_report_compare_usage_path(usb_hid_report_path_t *report_path, 133 usb_hid_report_path_t *path, int flags); 135 134 136 usb_hid_report_path_t *usb_hid_report_path_clone( 137 usb_hid_report_path_t *usage_path); 135 usb_hid_report_path_t *usb_hid_report_path_clone(usb_hid_report_path_t *usage_path); 138 136 139 137 void usb_hid_print_usage_path(usb_hid_report_path_t *path);
Note:
See TracChangeset
for help on using the changeset viewer.