Changeset 09ab0a9a in mainline for uspace/lib/usbhid/src/hiddescriptor.c
- Timestamp:
- 2018-09-13T12:05:53Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc74cb5
- Parents:
- b2aaaa0
- git-author:
- Jiri Svoboda <jiri@…> (2018-09-13 07:09:46)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-09-13 12:05:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/src/hiddescriptor.c
rb2aaaa0 r09ab0a9a 42 42 #include <stdlib.h> 43 43 44 45 44 /* 46 45 * Constants defining current parsing mode for correct parsing of the set of … … 62 61 #define INSIDE_DELIMITER_SET 2 63 62 64 65 66 63 /** The new report item flag. Used to determine when the item is completly 67 64 * configured and should be added to the report structure … … 79 76 /** Unknown tag was founded in report descriptor data*/ 80 77 #define USB_HID_UNKNOWN_TAG -99 81 82 78 83 79 /** … … 125 121 } 126 122 127 128 123 /** 129 124 * Initialize the report descriptor parser structure … … 147 142 return EOK; 148 143 } 149 150 151 144 152 145 /** … … 329 322 } 330 323 331 332 324 /** Parse HID report descriptor. 333 325 * … … 510 502 } 511 503 512 513 504 } 514 505 515 506 return EOK; 516 507 } 517 518 519 508 520 509 /** … … 759 748 usb_hid_report_tag_data_uint32(data, item_size)); 760 749 761 762 750 report_item->usage_minimum = 763 751 USB_HID_EXTENDED_USAGE( … … 867 855 return result; 868 856 } 869 870 857 871 858 /** … … 909 896 } 910 897 911 912 898 /** 913 899 * Prints content of given report descriptor in human readable format. … … 936 922 } 937 923 938 939 940 924 /** Frees the HID report descriptor parser structure 941 925 * … … 986 970 } 987 971 988 989 972 /** 990 973 * @}
Note:
See TracChangeset
for help on using the changeset viewer.