---
title: "init(rawValue:)"
framework: corehid
role: symbol
role_heading: Initializer
path: "corehid/hidreportid/init(rawvalue:)"
---

# init(rawValue:)

Creates a HID report ID.

## Declaration

```swift
init?(rawValue: UInt8)
```
