Contents

GCControllerDirectionPadValueChangedHandler

The signature for the block that executes when either axis changes values.

Declaration

typealias GCControllerDirectionPadValueChangedHandler = (GCControllerDirectionPad, Float, Float) -> Void

Parameters

  • dpad:

    The directional pad element that changed.

  • xValue:

    A normalized value of the x-axis ranging from -1 to 1.

  • yValue:

    A normalized value of the y-axis ranging from -1 to 1.

See Also

Getting change information