pub type GCControllerAxisValueChangedHandler = *mut DynBlock<dyn Fn(NonNull<GCControllerAxisInput>, c_float)>;
Available on crate features
GCControllerAxisInput
and GCControllerElement
and block2
only.Expand description
Set this block if you want to be notified when the value on this axis changes.
Parameter axis
: the element that has been modified.
Parameter value
: the value the axis was set to at the time the valueChangedHandler fired.
See also Appleās documentation