init
TypeScriptstatic init(): GCExtendedGamepadSwift declarationinit()class · iOS 7.0+ · SDK 27.1
class GCExtendedGamepadstatic init(): GCExtendedGamepadSwift declarationinit()saveSnapshot(): GCExtendedGamepadSnapshotSwift declarationfunc saveSnapshot() -> GCExtendedGamepadSnapshotsetStateFrom(extendedGamepad: GCExtendedGamepad): voidSwift declarationfunc setStateFrom(_ extendedGamepad: GCExtendedGamepad)get buttonA(): GCControllerButtonInputSwift declarationvar buttonA: GCControllerButtonInput { get }get buttonB(): GCControllerButtonInputSwift declarationvar buttonB: GCControllerButtonInput { get }get buttonHome(): (GCControllerButtonInput) | nullSwift declarationvar buttonHome: GCControllerButtonInput? { get }get buttonMenu(): GCControllerButtonInputSwift declarationvar buttonMenu: GCControllerButtonInput { get }get buttonOptions(): (GCControllerButtonInput) | nullSwift declarationvar buttonOptions: GCControllerButtonInput? { get }get buttonX(): GCControllerButtonInputSwift declarationvar buttonX: GCControllerButtonInput { get }get buttonY(): GCControllerButtonInputSwift declarationvar buttonY: GCControllerButtonInput { get }get controller(): (GCController) | nullSwift declarationweak var controller: GCController? { get }get dpad(): GCControllerDirectionPadSwift declarationvar dpad: GCControllerDirectionPad { get }get leftShoulder(): GCControllerButtonInputSwift declarationvar leftShoulder: GCControllerButtonInput { get }get leftThumbstick(): GCControllerDirectionPadSwift declarationvar leftThumbstick: GCControllerDirectionPad { get }get leftThumbstickButton(): (GCControllerButtonInput) | nullSwift declarationvar leftThumbstickButton: GCControllerButtonInput? { get }get leftTrigger(): GCControllerButtonInputSwift declarationvar leftTrigger: GCControllerButtonInput { get }get rightShoulder(): GCControllerButtonInputSwift declarationvar rightShoulder: GCControllerButtonInput { get }get rightThumbstick(): GCControllerDirectionPadSwift declarationvar rightThumbstick: GCControllerDirectionPad { get }get rightThumbstickButton(): (GCControllerButtonInput) | nullSwift declarationvar rightThumbstickButton: GCControllerButtonInput? { get }get rightTrigger(): GCControllerButtonInputSwift declarationvar rightTrigger: GCControllerButtonInput { get }get valueChangedHandler(): (((arg0: GCExtendedGamepad, arg1: GCControllerElement) => Promise<void>)) | nullSwift declarationvar valueChangedHandler: GCExtendedGamepadValueChangedHandler? { get set }set valueChangedHandler(value: (((arg0: GCExtendedGamepad, arg1: GCControllerElement) => void)) | null)Swift declarationvar valueChangedHandler: GCExtendedGamepadValueChangedHandler? { get set }No declarations were skipped in this snapshot.