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

# GCPhysicalInputSourceDirection

The directions that a physical input source involves.

```
struct GCPhysicalInputSourceDirection
```

## Topics

### Directions

[`GCPhysicalInputSourceDirectionNotApplicable`](/documentation/GameController/GCPhysicalInputSourceDirection/GCPhysicalInputSourceDirectionNotApplicable)

The physical input source doesn’t support directions.

[`up`](/documentation/GameController/GCPhysicalInputSourceDirection/up)

The physical input source contains a value for the up direction.

[`right`](/documentation/GameController/GCPhysicalInputSourceDirection/right)

The physical input source supports the right direction.

[`down`](/documentation/GameController/GCPhysicalInputSourceDirection/down)

The physical input source supports the down direction.

[`left`](/documentation/GameController/GCPhysicalInputSourceDirection/left)

The physical input source supports the left direction.

### Creating the supported directions

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

Creates a new instance with the specified raw 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)