<!--
{
  "availability" : [
    "driverkit: 19.0.0 -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "HIDDriverKit",
  "identifier" : "/documentation/HIDDriverKit/IOUserUSBHostHIDDevice/newReportDescriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "HIDDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserUSBHostHIDDevice@F@newReportDescriptor#"
  },
  "title" : "newReportDescriptor"
}
-->

# newReportDescriptor

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

```
virtual OSData * newReportDescriptor();
```

## Return Value

An <doc://com.apple.documentation/documentation/DriverKit/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 <doc://com.apple.documentation/documentation/DriverKit/OSData> object.

---

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)