---
title: GCPhysicalInputSourceDirection
framework: gamecontroller
role: symbol
role_heading: Structure
path: gamecontroller/gcphysicalinputsourcedirection
---

# GCPhysicalInputSourceDirection

The directions that a physical input source involves.

## Declaration

```swift
struct GCPhysicalInputSourceDirection
```

## Topics

### Directions

- [up](gamecontroller/gcphysicalinputsourcedirection/up.md)
- [right](gamecontroller/gcphysicalinputsourcedirection/right.md)
- [down](gamecontroller/gcphysicalinputsourcedirection/down.md)
- [left](gamecontroller/gcphysicalinputsourcedirection/left.md)

### Creating the supported directions

- [init(rawValue:)](gamecontroller/gcphysicalinputsourcedirection/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Getting directions

- [direction](gamecontroller/gcphysicalinputsource/direction.md)
