Contents

pressedChangedHandler

The block that the element calls when the user presses or releases the button.

Declaration

var pressedChangedHandler: GCControllerButtonValueChangedHandler? { get set }

Discussion

Set this handler when you only want to know when the user presses or releases the button — that is, when the isPressed property changes.

See Also

Getting change information