<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCAxisInput",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(pl)GCAxisInput"
  },
  "title" : "GCAxisInput"
}
-->

# GCAxisInput

The common properties of inputs that provide absolute values along an axis with a fixed origin.

```
protocol GCAxisInput : NSObjectProtocol
```

## Topics

### Getting the characteristics

[`canWrap`](/documentation/GameController/GCAxisInput/canWrap)

A Boolean value that indicates whether the value wraps when it reaches the range’s minimum or maximum value.

[`isAnalog`](/documentation/GameController/GCAxisInput/isAnalog)

A Boolean value that indicates whether the input provides analog values.

### Getting the value

[`value`](/documentation/GameController/GCAxisInput/value)

The value along the axis, in unit coordinates.

[`valueDidChangeHandler`](/documentation/GameController/GCAxisInput/valueDidChangeHandler)

The block that the input object calls when the value changes.

[`lastValueTimestamp`](/documentation/GameController/GCAxisInput/lastValueTimestamp)

The time of the most recent value change.

[`lastValueLatency`](/documentation/GameController/GCAxisInput/lastValueLatency)

The time in seconds between the last value change and the current time.

### Getting user actions

[`sources`](/documentation/GameController/GCAxisInput/sources)

One or more physical actions the user performs to manipulate the input.



---

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)