<!--
{
  "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.

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

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

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

The physical input source supports the right direction.

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

The physical input source supports the down direction.

[`GCPhysicalInputSourceDirectionLeft`](/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.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)