Changes in uspace/lib/usbhid/include/usb/hid/hidpath.h [9d58539:5b0cf63] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/include/usb/hid/hidpath.h
r9d58539 r5b0cf63 36 36 #define LIBUSB_HIDPATH_H_ 37 37 38 #include <errno.h> 38 39 #include <usb/hid/hidparser.h> 39 40 #include <stdint.h> … … 41 42 42 43 43 /*---------------------------------------------------------------------------*/ 44 44 45 /* 45 46 * Flags of usage paths comparison modes. … … 73 74 #define USB_HID_PATH_COMPARE_ANYWHERE 8 74 75 75 /*----------------------------------------------------------------------------*/ 76 76 77 /** 77 78 * Item of usage path structure. Last item of linked list describes one item … … 82 83 /** Usage page of report item. Zero when usage page can be changed. */ 83 84 uint32_t usage_page; 84 /** Usage of report item. Zero when usage can be changed. */ 85 /** Usage of report item. Zero when usage can be changed. */ 85 86 uint32_t usage; 86 87 … … 93 94 94 95 95 /*---------------------------------------------------------------------------*/ 96 96 97 /** 97 98 * USB HID usage path structure. … … 112 113 } usb_hid_report_path_t; 113 114 114 /*---------------------------------------------------------------------------*/ 115 115 116 usb_hid_report_path_t *usb_hid_report_path(void); 116 117 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 errno_t usb_hid_report_path_set_report_id(usb_hid_report_path_t *usage_path, 121 uint8_t report_id); 121 122 122 int usb_hid_report_path_append_item(usb_hid_report_path_t *usage_path, 123 123 errno_t usb_hid_report_path_append_item(usb_hid_report_path_t *usage_path, 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); … … 127 128 void usb_hid_report_null_last_item(usb_hid_report_path_t *usage_path); 128 129 129 void usb_hid_report_set_last_item(usb_hid_report_path_t *usage_path, 130 130 void usb_hid_report_set_last_item(usb_hid_report_path_t *usage_path, 131 int32_t tag, int32_t data); 131 132 132 133 int usb_hid_report_compare_usage_path(usb_hid_report_path_t *report_path, 133 134 usb_hid_report_path_t *path, int flags); 134 135 135 136 usb_hid_report_path_t *usb_hid_report_path_clone( 136 137 usb_hid_report_path_t *usage_path); 137 138 138 139 void usb_hid_print_usage_path(usb_hid_report_path_t *path);
Note:
See TracChangeset
for help on using the changeset viewer.