bool USBHostHID_HasUsage( HID_REPORTITEM * reportItem, uint16_t usagePage, uint16_t usage, uint16_t * pindex, uint8_t* count );
This function is used to locate the usage in a report descriptor. Function will look into the data structures created by the HID parser and return the appropriate location.
None
Return Values |
Description |
bool |
FALSE - If requested usage is not found |
TRUE |
if requested usage is found |
None
MLA - USB Library Help Version : 2.16
![]() |