Typealiases

The following typealiases are available globally.

  • A closure type for receiving events when the current point on the touchpad changes. - param touchpad: The touch pad calling this handler. - param point: The new point on the touch pad.

    Declaration

    Swift

    typealias DDControllerTouchpadPointChangedHandler = (DDControllerTouchpad, CGPoint) -> Void
  • A closure type for receiving events when the press state of a button changes. - param button: The button calling this handler. - param pressed: A boolean value representing whether or not the button is currently pressed.

    Declaration

    Swift

    typealias DDControllerButtonValueChangedHandler = (DDControllerButton, Bool) -> Void