<!--
{
  "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/GCLinearInput",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(pl)GCLinearInput"
  },
  "title" : "GCLinearInput"
}
-->

# GCLinearInput

The common properties of inputs that provide values in unit coordinates.

```
protocol GCLinearInput : NSObjectProtocol
```

## Topics

### Getting the characteristics

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

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

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

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

### Getting the value

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

The value in unit coordinates.

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

The block that the profile calls when an element’s value changes.

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

The time of the most recent value change.

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

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

### Getting user actions

[`sources`](/documentation/GameController/GCLinearInput/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)