---
title: IOHIDElementCommitDirection
framework: hiddriverkit
role: symbol
role_heading: Enumeration
path: hiddriverkit/iohidelementcommitdirection
---

# IOHIDElementCommitDirection

The commit direction for an HID element.

## Declaration

```occ
typedef enum { ... } IOHIDElementCommitDirection;
```

## Overview

Overview Passing a value of kIOHIDElementCommitDirectionOut issues a setReport call to the device. Before issuing this call, set your desired value on the element with the setValue or setDataValue functions.

## Topics

### Getting the Commit Directions

- [kIOHIDElementCommitDirectionIn](hiddriverkit/iohidelementcommitdirection/kiohidelementcommitdirectionin.md)
- [kIOHIDElementCommitDirectionOut](hiddriverkit/iohidelementcommitdirection/kiohidelementcommitdirectionout.md)

## See Also

### Committing Changes to Elements

- [commit](hiddriverkit/iohidelement/commit.md)
