Changeset 4fe3b6d in mainline for uspace/lib/usbhid/include/usb/hid/hidparser.h
- Timestamp:
- 2011-05-20T11:07:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8bb61e6
- Parents:
- 3476be8 (diff), 7941bd6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/include/usb/hid/hidparser.h
r3476be8 r4fe3b6d 27 27 */ 28 28 29 /** @addtogroup libusb 29 /** @addtogroup libusbhid 30 30 * @{ 31 31 */ … … 33 33 * USB HID report descriptor and report data parser 34 34 */ 35 #ifndef LIBUSB _HIDPARSER_H_36 #define LIBUSB _HIDPARSER_H_35 #ifndef LIBUSBHID_HIDPARSER_H_ 36 #define LIBUSBHID_HIDPARSER_H_ 37 37 38 38 #include <stdint.h> 39 39 #include <adt/list.h> 40 #include <usb/ classes/hid_report_items.h>41 #include <usb/ classes/hidpath.h>42 #include <usb/ classes/hidtypes.h>43 #include <usb/ classes/hiddescriptor.h>40 #include <usb/hid/hid_report_items.h> 41 #include <usb/hid/hidpath.h> 42 #include <usb/hid/hidtypes.h> 43 #include <usb/hid/hiddescriptor.h> 44 44 45 45 … … 50 50 int usb_hid_parse_report(const usb_hid_report_t *report, const uint8_t *data, 51 51 size_t size, uint8_t *report_id); 52 53 /** */54 size_t usb_hid_report_input_length(const usb_hid_report_t *report,55 usb_hid_report_path_t *path, int flags);56 52 57 53 /* … … 65 61 void usb_hid_report_output_free(uint8_t *output); 66 62 67 /** Returns size of output for given usage path*/68 size_t usb_hid_report_ output_size(usb_hid_report_t *report,69 usb_hid_report_path_t *path, int flags);63 /** Returns size of report in items */ 64 size_t usb_hid_report_size(usb_hid_report_t *report, uint8_t report_id, 65 usb_hid_report_type_t type); 70 66 71 67 /** Makes the output report buffer by translated given data */
Note:
See TracChangeset
for help on using the changeset viewer.