SkyCtrl4Button
@objc(GSSkyCtrl4Button)
public enum SkyCtrl4Button : Int
A physical button that can be grabbed on a RemoteControl.Model.skyCtrl4
gamepad.
-
Top-most button on the left of the controller front, immediately above power-on button, featuring a return-home icon print. Produces
SkyCtrl4ButtonEvent.frontLeftButton
events when grabbed.Declaration
Swift
case frontLeft
-
Button on the right of the controller front, featuring a takeoff icon print. icon print. Produces
SkyCtrl4ButtonEvent.frontRightButton
events when grabbed.Declaration
Swift
case frontRight
-
Left-most button on the rear of the controller, immediately above AxisLeftSlider, featuring a centering icon print. Produces:
SkyCtrl4ButtonEvent.rearLeftButton
events when grabbedVirtualGamepadEvent.ok
events whenVirtualGamepad
peripheral is grabbed
Declaration
Swift
case rearLeft
-
Right-most button on the rear of the controller, immediately above AxisRightSlider, featuring a take-photo/record icon print. Produces:
SkyCtrl4ButtonEvent.rearRightButton
events when grabbedVirtualGamepadEvent.cancel
events whenVirtualGamepad
peripheral is grabbed
Declaration
Swift
case rearRight
-
Set containing all possible buttons.
Declaration
Swift
public static let allCases: Set<SkyCtrl4Button>
-
Debug description.
Declaration
Swift
public var description: String { get }