USB Library
USBHostHID_HasUsage Function
Syntax
bool USBHostHID_HasUsage(
    HID_REPORTITEM * reportItem, 
    uint16_t usagePage, 
    uint16_t usage, 
    uint16_t * pindex, 
    uint8_t* count
);
Description

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.

Preconditions

None

Return Values
Return Values 
Description 
bool 
FALSE - If requested usage is not found 
TRUE 
if requested usage is found 
Remarks

None

MLA - USB Library Help Version : 2.16
http://www.microchip.com/mla