Contents

input

Gets the input profile for the stylus.

Declaration

var input: (any GCDevicePhysicalInput)? { get }

Mentioned in

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