Instance Property

valueChangedHandler

A handler to be called when the pressure on a button changes.

Declaration

var valueChangedHandler: GCControllerButtonValueChangedHandler? { get set }

Discussion

This handler is called when the button’s value property changes.

See Also

Receiving Notifications When the Button’s Value Changes

var pressedChangedHandler: GCControllerButtonValueChangedHandler?

A handler to be called when the button is pressed or released.