Contents

GCMicroGamepadValueChangedHandler

Signature for the block that this profile calls when an element’s value changes.

Declaration

typealias GCMicroGamepadValueChangedHandler = (GCMicroGamepad, GCControllerElement) -> Void

Parameters

  • gamepad:

    The profile whose element value changes.

  • element:

    The element in the profile whose value changes.

See Also

Receiving a callback when input values change