---
title: TCControlLabel.Role
framework: Touch Controller
role: symbol
role_heading: Enumeration
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: touchcontroller/tccontrollabel/role-swift.enum
---

# TCControlLabel.Role

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

## Declaration

```swift
enum Role
```

## Topics

### Roles

- [TCControlLabel.Role.button](touchcontroller/tccontrollabel/role-swift.enum/button.md)
- [TCControlLabel.Role.directionPad](touchcontroller/tccontrollabel/role-swift.enum/directionpad.md)

### Creating a role

- [init(rawValue:)](touchcontroller/tccontrollabel/role-swift.enum/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Inspecting the control

- [role](touchcontroller/tccontrollabel/role-swift.property.md)
