<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TouchController",
  "identifier" : "/documentation/TouchController/TCControlContents/DpadDirection",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Touch Controller",
      "TouchController"
    ],
    "preciseIdentifier" : "c:@E@TCControlContentsDpadDirection"
  },
  "title" : "TCControlContents.DpadDirection"
}
-->

# TCControlContents.DpadDirection

Defines the direction of a direction pad visual.

```
enum DpadDirection
```

## Topics

### Directions

[`case down`](/documentation/TouchController/TCControlContents/DpadDirection/down)

The down direction.

[`case left`](/documentation/TouchController/TCControlContents/DpadDirection/left)

The left direction.

[`case right`](/documentation/TouchController/TCControlContents/DpadDirection/right)

The right direction.

[`case up`](/documentation/TouchController/TCControlContents/DpadDirection/up)

The up direction.

### Creating a dpad direction

[`init?(rawValue: Int)`](/documentation/TouchController/TCControlContents/DpadDirection/init(rawValue:))

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)