GCControllerDirectionPadValueChangedHandler
The signature for the block that executes when either axis changes values.
Declaration
typealias GCControllerDirectionPadValueChangedHandler = (GCControllerDirectionPad, Float, Float) -> VoidParameters
- dpad:
The directional pad element that changed.
- xValue:
A normalized value of the x-axis ranging from
-1to1. - yValue:
A normalized value of the y-axis ranging from
-1to1.