<!--
{
  "availability" : [
    "driverkit: 19.0.0 -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "HIDDriverKit",
  "identifier" : "/documentation/HIDDriverKit/IOUserHIDEventDriver/handleReport",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "HIDDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserHIDEventDriver@F@handleReport#k#*c#i#$@E@IOHIDReportType#i#"
  },
  "title" : "handleReport"
}
-->

# handleReport

Processes the information in a new device report and dispatches any relevant events in response.

```
virtual void handleReport(uint64_t timestamp, uint8_t *report, uint32_t reportLength, IOHIDReportType type, uint32_t reportID);
```

## Parameters

`timestamp`

The timestamp of the report.

`report`

A pointer to the raw bytes of the report.

`reportLength`

The number of bytes of data in the `report` parameter.

`type`

The report type.

`reportID`

The unique ID associated with the report. If a report element has new data, it contains this ID.

## Discussion

This method iterates over the elements in the report and dispatches events for any changed values. The system calls this method automatically when a new report arrives; don’t call this method yourself.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)