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

# TCControlLabel.Role

Defines the role for a control label. This determines the type of control on
the touch controller’s associated GCController.

```
enum Role
```

## Topics

### Roles

[`case button`](/documentation/TouchController/TCControlLabel/Role-swift.enum/button)

A label for a button input controller.

[`case directionPad`](/documentation/TouchController/TCControlLabel/Role-swift.enum/directionPad)

A label for a direction pad controller.

### Creating a role

[`init?(rawValue: Int)`](/documentation/TouchController/TCControlLabel/Role-swift.enum/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)