Contents

GCControllerAxisValueChangedHandler

The signature for the block that executes when the user changes the axis value.

Declaration

typealias GCControllerAxisValueChangedHandler = (GCControllerAxisInput, Float) -> Void

Parameters

  • axis:

    The axis that the user changed.

  • value:

    A normalized value for the axis ranging from -1 to 1.

See Also

Getting change information