---
title: GCButtonElementName
framework: gamecontroller
role: symbol
role_heading: Structure
path: gamecontroller/gcbuttonelementname-swift.struct
---

# GCButtonElementName

The names of the button elements.

## Declaration

```swift
struct GCButtonElementName
```

## Topics

### Getting extended gamepad shoulder button names

- [leftShoulder](gamecontroller/gcbuttonelementname-swift.struct/leftshoulder.md)
- [rightShoulder](gamecontroller/gcbuttonelementname-swift.struct/rightshoulder.md)
- [leftBumper](gamecontroller/gcbuttonelementname-swift.struct/leftbumper.md)
- [rightBumper](gamecontroller/gcbuttonelementname-swift.struct/rightbumper.md)

### Getting extended gamepad trigger names

- [leftTrigger](gamecontroller/gcbuttonelementname-swift.struct/lefttrigger.md)
- [rightTrigger](gamecontroller/gcbuttonelementname-swift.struct/righttrigger.md)

### Getting extended gamepad face button names

- [menu](gamecontroller/gcbuttonelementname-swift.struct/menu.md)
- [options](gamecontroller/gcbuttonelementname-swift.struct/options.md)
- [home](gamecontroller/gcbuttonelementname-swift.struct/home.md)
- [a](gamecontroller/gcbuttonelementname-swift.struct/a.md)
- [b](gamecontroller/gcbuttonelementname-swift.struct/b.md)
- [x](gamecontroller/gcbuttonelementname-swift.struct/x.md)
- [y](gamecontroller/gcbuttonelementname-swift.struct/y.md)

### Getting extended gamepad thumbstick names

- [leftThumbstickButton](gamecontroller/gcbuttonelementname-swift.struct/leftthumbstickbutton.md)
- [rightThumbstickButton](gamecontroller/gcbuttonelementname-swift.struct/rightthumbstickbutton.md)

### Getting extended gamepad back button names

- [backLeftButton(position:)](gamecontroller/gcbuttonelementname-swift.struct/backleftbutton(position:).md)
- [backRightButton(position:)](gamecontroller/gcbuttonelementname-swift.struct/backrightbutton(position:).md)

### Getting steering wheel controller names

- [pedalClutch](gamecontroller/gcbuttonelementname-swift.struct/pedalclutch.md)
- [pedalBrake](gamecontroller/gcbuttonelementname-swift.struct/pedalbrake.md)
- [pedalAccelerator](gamecontroller/gcbuttonelementname-swift.struct/pedalaccelerator.md)
- [leftPaddle](gamecontroller/gcbuttonelementname-swift.struct/leftpaddle.md)
- [rightPaddle](gamecontroller/gcbuttonelementname-swift.struct/rightpaddle.md)

### Getting Xbox button names

- [share](gamecontroller/gcbuttonelementname-swift.struct/share.md)

### Getting arcade stick button names

- [arcadeButton(row:column:)](gamecontroller/gcbuttonelementname-swift.struct/arcadebutton(row:column:).md)

### Type Properties

- [grip](gamecontroller/gcbuttonelementname-swift.struct/grip.md)
- [leftSideButton](gamecontroller/gcbuttonelementname-swift.struct/leftsidebutton.md)
- [rightSideButton](gamecontroller/gcbuttonelementname-swift.struct/rightsidebutton.md)
- [stylusPrimaryButton](gamecontroller/gcbuttonelementname-swift.struct/stylusprimarybutton.md)
- [stylusSecondaryButton](gamecontroller/gcbuttonelementname-swift.struct/stylussecondarybutton.md)
- [stylusTip](gamecontroller/gcbuttonelementname-swift.struct/stylustip.md)
- [thumbstickButton](gamecontroller/gcbuttonelementname-swift.struct/thumbstickbutton.md)
- [trigger](gamecontroller/gcbuttonelementname-swift.struct/trigger.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [GCPhysicalInputElementTypedName](gamecontroller/gcphysicalinputelementtypedname.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Element names

- [GCPhysicalInputElementName](gamecontroller/gcphysicalinputelementname-swift.struct.md)
- [GCPhysicalInputElementTypedName](gamecontroller/gcphysicalinputelementtypedname.md)
- [GCAxisElementName](gamecontroller/gcaxiselementname-swift.struct.md)
- [GCSwitchElementName](gamecontroller/gcswitchelementname-swift.struct.md)
- [GCDirectionPadElementName](gamecontroller/gcdirectionpadelementname-swift.struct.md)
- [Extended gamepad input names](gamecontroller/extended-gamepad-input-names.md)
- [DualShock controller input names](gamecontroller/dualshock-controller-input-names.md)
- [Xbox controller input names](gamecontroller/xbox-controller-input-names.md)
- [Micro gamepad input names](gamecontroller/micro-gamepad-input-names.md)
- [Directional Gamepad Input Names](gamecontroller/directional-gamepad-input-names.md)
