JoyStickViewMonitorKind

public enum JoyStickViewMonitorKind

Monitor kind. Determines the type of reporting that will be emitted from a JoyStickView instance.

  • Install monitor that accepts polar position change reports

    Declaration

    Swift

    case polar(monitor: JoyStickViewPolarMonitor)

    Parameters

    monitor

    function that accepts a JoyStickViewPolarReport

  • Install monitor that accepts cartesian (XY) position change reports

    Declaration

    Swift

    case xy(monitor: JoyStickViewXYMonitor)

    Parameters

    monitor

    function that accepts a JoyStickViewXYReport

  • No monitoring for a JoyStickView instance.

    Declaration

    Swift

    case none