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

Override this method and use it to fetch the report descriptor from the device. Return the raw bytes for that report in an OSData object.