<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCHapticsLocality",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:@T@GCHapticsLocality"
  },
  "title" : "GCHapticsLocality"
}
-->

# GCHapticsLocality

The location of one or more haptics actuators on a game controller.

```
struct GCHapticsLocality
```

## Discussion

Use this symbol to specify the location of the actuators when creating a haptic engine.

## Topics

### Localities

[`default`](/documentation/GameController/GCHapticsLocality/default)

The default location of a haptics actuator on a game controller.

[`all`](/documentation/GameController/GCHapticsLocality/all)

All locations of haptics actuators on a game controller.

[`handles`](/documentation/GameController/GCHapticsLocality/handles)

All handles on a game controller.

[`leftHandle`](/documentation/GameController/GCHapticsLocality/leftHandle)

The left handle on a game controller.

[`rightHandle`](/documentation/GameController/GCHapticsLocality/rightHandle)

The right handle on a game controller.

[`triggers`](/documentation/GameController/GCHapticsLocality/triggers)

All triggers on a game controller.

[`leftTrigger`](/documentation/GameController/GCHapticsLocality/leftTrigger)

The left trigger on a game controller.

[`rightTrigger`](/documentation/GameController/GCHapticsLocality/rightTrigger)

The right trigger on a game controller.

### Initializers

[`init(rawValue:)`](/documentation/GameController/GCHapticsLocality/init(rawValue:))

Creates a locality structure with a string value.



---

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)