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