---
title: GCControllerInputState
framework: gamecontroller
role: symbol
role_heading: Class
path: gamecontroller/gccontrollerinputstate
---

# GCControllerInputState

A class that represents an input state for gamepads and arcade sticks.

## Declaration

```swift
class GCControllerInputState
```

## Overview

Overview This class implements the GCDevicePhysicalInputState protocol for gamepads and arcade sticks. Instances of this class represent the state of the controller’s inputs at a moment in time, which can be the current time.

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [GCControllerLiveInput](gamecontroller/gccontrollerliveinput.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [GCDevicePhysicalInputState](gamecontroller/gcdevicephysicalinputstate.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Accessing controller input

- [input](gamecontroller/gccontroller/input.md)
- [GCControllerLiveInput](gamecontroller/gccontrollerliveinput.md)
