<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreHID",
  "identifier" : "/documentation/CoreHID/HIDVirtualDevice/Properties/descriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core HID"
    ],
    "preciseIdentifier" : "s:7CoreHID16HIDVirtualDeviceC10PropertiesV10descriptor10Foundation4DataVvp"
  },
  "title" : "descriptor"
}
-->

# descriptor

The HID specification compliant report descriptor for the virtual device.

```
let descriptor: Data
```

## Discussion

A report descriptor defines details about the device and the type of interactions that it can have, such as the type of input it can generate, and the queries it responds to. This is the raw descriptor in byte form.

For more details, see [Human Interface Devices (HID) Specifications and Tools](https://www.usb.org/hid).

---

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)