capture
TypeScriptcapture(): GCPhysicalInputProfileSwift declarationfunc capture() -> Selfclass · iOS 14.0+ · SDK 27.1
class GCPhysicalInputProfilecapture(): GCPhysicalInputProfileSwift declarationfunc capture() -> Selfstatic init(): GCPhysicalInputProfileSwift declarationinit()mappedElementAlias(inputName: string): stringSwift declarationfunc mappedElementAlias(forPhysicalInputName inputName: String) -> StringmappedPhysicalInputNames(elementAlias: string): Array<string>Swift declarationfunc mappedPhysicalInputNames(forElementAlias elementAlias: String) -> Set<String>subscript(key: string): (GCControllerElement) | nullSwift declarationsubscript(key: String) -> GCControllerElement? { get }setStateFromPhysicalInput(physicalInput: GCPhysicalInputProfile): voidSwift declarationfunc setStateFromPhysicalInput(_ physicalInput: GCPhysicalInputProfile)get allAxes(): Array<GCControllerAxisInput>Swift declarationvar allAxes: Set<GCControllerAxisInput> { get }get allButtons(): Array<GCControllerButtonInput>Swift declarationvar allButtons: Set<GCControllerButtonInput> { get }get allDpads(): Array<GCControllerDirectionPad>Swift declarationvar allDpads: Set<GCControllerDirectionPad> { get }get allElements(): Array<GCControllerElement>Swift declarationvar allElements: Set<GCControllerElement> { get }get allTouchpads(): Array<GCControllerTouchpad>Swift declarationvar allTouchpads: Set<GCControllerTouchpad> { get }get axes(): Record<string, GCControllerAxisInput>Swift declarationvar axes: [String : GCControllerAxisInput] { get }get buttons(): Record<string, GCControllerButtonInput>Swift declarationvar buttons: [String : GCControllerButtonInput] { get }get device(): (SDKHandle) | nullSwift declarationweak var device: (any GCDevice)? { get }get dpads(): Record<string, GCControllerDirectionPad>Swift declarationvar dpads: [String : GCControllerDirectionPad] { get }get elements(): Record<string, GCControllerElement>Swift declarationvar elements: [String : GCControllerElement] { get }get hasRemappedElements(): booleanSwift declarationvar hasRemappedElements: Bool { get }get lastEventTimestamp(): numberSwift declarationvar lastEventTimestamp: TimeInterval { get }get touchpads(): Record<string, GCControllerTouchpad>Swift declarationvar touchpads: [String : GCControllerTouchpad] { get }get valueDidChangeHandler(): (((arg0: GCPhysicalInputProfile, arg1: GCControllerElement) => Promise<void>)) | nullSwift declarationvar valueDidChangeHandler: ((GCPhysicalInputProfile, GCControllerElement) -> Void)? { get set }set valueDidChangeHandler(value: (((arg0: GCPhysicalInputProfile, arg1: GCControllerElement) => void)) | null)Swift declarationvar valueDidChangeHandler: ((GCPhysicalInputProfile, GCControllerElement) -> Void)? { get set }No declarations were skipped in this snapshot.