Contents

newReportDescriptor

Returns the data in the HID device’s report descriptor.

Declaration

virtual OSData * newReportDescriptor();

Return Value

An OSData object containing the report descriptor for the device.

Discussion

The default implementation of this method fetches the report descriptor from the USB device and packages the resulting data into an OSData object.

See Also

Managing Device Reports