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

# kIOHIDKeyboardEventOptionsNoKeyRepeat

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

```
kIOHIDKeyboardEventOptionsNoKeyRepeat
```

## Discussion

The default behavior for keyboard events is to repeat keys if the user holds down the key for the amount of time defined in system preferences. Use this option to disable this behavior for 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)