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

# kIOHIDElementCommitDirectionIn

Causes the retrieval of information from the device, and the populating of the element with the resulting data.

```
kIOHIDElementCommitDirectionIn
```

## Discussion

Specifying this direction causes the [`commit`](/documentation/HIDDriverKit/IOHIDElement/commit) function to read the element data from the device and update the current object. You can access the resulting data using the [`getValue`](/documentation/HIDDriverKit/IOHIDElement/getValue) or [`getDataValue`](/documentation/HIDDriverKit/IOHIDElement/getDataValue) functions.

---

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)