Type Alias

GCControllerAxisValueChangedHandler

The signature for the block executed when an axis changes values.

Declaration

typealias GCControllerAxisValueChangedHandler = (GCControllerAxisInput, Float) -> Void

Discussion

The block parameters are defined as follows:

axis

The axis element whose value changed.

value

The new value.

This block type is used by the valueChangedHandler property.