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

# vendorID

The vendor ID for the device.

```
let vendorID: UInt32
```

## Discussion

The vendor ID designates the vendor that produced the device. It can be combined with [`productID`](/documentation/CoreHID/HIDVirtualDevice/Properties/productID) to determine the exact device.

More information about vendor IDs can be found online. The vendor ID associated with a HID device is typically a [USB vendor ID](https://www.usb.org/developers), but can be something else, such as a [Bluetooth vendor ID](https://www.bluetooth.com/specifications/assigned-numbers/).

---

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)