AxisMappableAction

@objc(GSAxisMappableAction)
public enum AxisMappableAction : Int

An action that may be triggered when the gamepad inputs generate a specific axis event, optionally in conjunction with a specific set of button events.

Those are predefined actions that are executed by the connected drone.

  • Controls the connected drone roll.

    Declaration

    Swift

    case controlRoll
  • Controls the connected drone pitch.

    Declaration

    Swift

    case controlPitch
  • Controls the connected drone yaw rotation speed.

    Declaration

    Swift

    case controlYawRotationSpeed
  • Controls the connected drone vertical speed.

    Declaration

    Swift

    case controlThrottle
  • Controls the connected drone camera pan.

    Declaration

    Swift

    case panCamera
  • Controls the connected drone camera tilt.

    Declaration

    Swift

    case tiltCamera
  • Controls the connected drone camera zoom.

    Declaration

    Swift

    case zoomCamera
  • Debug description.

    Declaration

    Swift

    public var description: String { get }
  • Set containing all possible axis mappable actions.

    Declaration

    Swift

    public static let allCases: Set<AxisMappableAction>