---
title: input
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcstylus/input
---

# input

Gets the input profile for the stylus.

## Declaration

```swift
var input: (any GCDevicePhysicalInput)? { get }
```

## Mentioned in

Discovering and tracking spatial game controllers and styli

## Discussion

Discussion The input profile is represented as an object conforming to the GCDevicePhysicalInput protocol.  Use this object to discover available inputs on the stylus, including buttons and pressure sensors, and get notified when the state of those inputs change.

## See Also

### Getting input values and haptics

- [haptics](gamecontroller/gcstylus/haptics.md)
