<!--
{
  "availability" : [
    "DriverKit: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "HIDDriverKit",
  "identifier" : "/documentation/HIDDriverKit/IOHIDKeyboardEventOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "HIDDriverKit"
    ],
    "preciseIdentifier" : "c:@EA@IOHIDKeyboardEventOptions"
  },
  "title" : "IOHIDKeyboardEventOptions"
}
-->

# IOHIDKeyboardEventOptions

Options that you use to dispatch keyboard events.

```
typedef enum { ... } IOHIDKeyboardEventOptions;
```

## Overview

Pass these options to the [`dispatchKeyboardEvent`](/documentation/HIDDriverKit/IOHIDEventService/dispatchKeyboardEvent) method of [`IOHIDEventService`](/documentation/HIDDriverKit/IOHIDEventService).

## Topics

### Getting the Keyboard Event Option

[`kIOHIDKeyboardEventOptionsNoKeyRepeat`](/documentation/HIDDriverKit/IOHIDKeyboardEventOptions/kIOHIDKeyboardEventOptionsNoKeyRepeat)

An option for not applying the default key repeat logic to the event.



---

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)