Expand description
§Bindings to the GameController framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- GCAcceleration
GCMotion - A 3 dimensional acceleration vector measured as scalar multiples of earth’s gravitational acceleration, G.
- GCColor
GCColor - Represents a color used by a GCDeviceLight.
- GCController
GCController - Controllers are available to an application that links to GameController.framework. There are 2 ways to access controllers paired to the system, adopt both to ensure the best user experience:
- GCController
Axis Input GCControllerAxisInputandGCControllerElement - Apple’s documentation
- GCController
Button Input GCControllerButtonInputandGCControllerElement - Apple’s documentation
- GCController
Direction Pad GCControllerDirectionPadandGCControllerElement - A direction pad is a common grouping of 2 axis inputs where the input can also be interpreted as 2 sets of mutually exclusive button pairs. Only one button in each pair, {up, down} and {left, right}, can be pressed at any one time.
- GCController
Element GCControllerElement - Every controller element knows which collection it belongs to and whether its input value is analog or digital.
- GCController
Input State GCControllerInput - Apple’s documentation
- GCController
Live Input GCControllerInput - Apple’s documentation
- GCController
Player Index GCController - This is the player index that a connected controller will have if it has never been assigned a player index on the current system. Controllers retain the player index they have been assigned between game sessions, so if you wish to unset the player index of a controller set it back to this value.
- GCController
Touchpad GCControllerElementandGCControllerTouchpad - A touchpad is a touch-based two axis input with a notion of “touch state”. It keeps track of whether the touchpad is actively being touched, and generates events based on a change in touch state.
- GCDevice
Battery GCDeviceBattery - A controller battery is an abstract representation of the battery level and battery status of a GCController instance.
- GCDevice
Battery State GCDeviceBattery - This is the battery status and it’s represented by one of the following values: GCControllerBatteryStateUnknown means that the current state of battery is unknown or cannot be determined GCControllerBatteryStateDischarging means that controller is on battery and discharging at this moment GCControllerBatteryStateCharging means that controller is plugged in, but it’s battery level is less than 100% GCControllerBatteryStateFull means that controller is plugged in and it’s battery level is 100%
- GCDevice
Cursor GCControllerDirectionPadandGCControllerElementandGCDeviceCursor - A cursor is a Direction Pad that has its axis extended from [-1; 1] to [width; height] range Up, down, left, right allows to use mouse to simulate DirectionaPad or Thumbstick since values are normalized for these elements
- GCDevice
Haptics GCDeviceHaptics - Apple’s documentation
- GCDevice
Light GCDeviceLight - A controller light is an abstract representation of the light-emitting capabilities of a GCController instance.
- GCDevice
Physical Input Element Change GCDevicePhysicalInputStateDiff - Apple’s documentation
- GCDirectional
Gamepad GCDirectionalGamepadandGCMicroGamepadandGCPhysicalInputProfile - Directional Gamepad profile.
- GCDual
Sense Adaptive Trigger GCControllerButtonInputandGCControllerElementandGCDualSenseAdaptiveTrigger - DualSense triggers are required to be analog inputs. Common uses would be acceleration and decelleration in a driving game for example.
- GCDual
Sense Adaptive Trigger Mode GCDualSenseAdaptiveTrigger - Apple’s documentation
- GCDual
Sense Adaptive Trigger Positional Amplitudes GCDualSenseAdaptiveTrigger - Apple’s documentation
- GCDual
Sense Adaptive Trigger Positional Resistive Strengths GCDualSenseAdaptiveTrigger - Apple’s documentation
- GCDual
Sense Adaptive Trigger Status GCDualSenseAdaptiveTrigger - Apple’s documentation
- GCDual
Sense Gamepad GCDualSenseGamepadandGCExtendedGamepadandGCPhysicalInputProfile - The GCDualSenseGamepad profile represents any supported DualSense controller.
- GCDual
Shock Gamepad GCDualShockGamepadandGCExtendedGamepadandGCPhysicalInputProfile - The GCDualShockGamepad profile represents any supported DualShock 4 controller.
- GCEuler
Angles GCMotion - A structure containing 3-axis rotation data. The angles are rotated in order or pitch then yaw then roll.
- GCEvent
View Controller GCEventViewControllerandobjc2-app-kitand macOS - A view controller subclass that allows fine grained control of the user interface system’s handling of game controller events. Set an instance of this class as your root view controller if you intend to use GCController APIs for handling game controllers.
- GCExtended
Gamepad GCExtendedGamepadandGCPhysicalInputProfile - Apple’s documentation
- GCExtended
Gamepad Snap Shot Data V100 GCExtendedGamepadSnapshot - Apple’s documentation
- GCExtended
Gamepad Snapshot Deprecated GCExtendedGamepadandGCExtendedGamepadSnapshotandGCPhysicalInputProfile - A GCExtendedGamepadSnapshot snapshot is a concrete GCExtendedGamepad implementation. It can be used directly in an application to implement controller input replays. It is also returned as the result of polling a controller.
- GCExtended
Gamepad Snapshot Data GCExtendedGamepadSnapshot - Apple’s documentation
- GCExtended
Gamepad Snapshot Data Version Deprecated GCExtendedGamepadSnapshot - Apple’s documentation
- GCGamepad
Deprecated GCGamepadandGCPhysicalInputProfile - Apple’s documentation
- GCGamepad
Snap Shot Data V100 GCGamepadSnapshot - Apple’s documentation
- GCGamepad
Snapshot Deprecated GCGamepadandGCGamepadSnapshotandGCPhysicalInputProfile - A GCGamepadSnapshot snapshot is a concrete GCGamepad implementation. It can be used directly in an application to implement controller input replays. It is also returned as the result of polling a controller.
- GCGear
Shifter Element GCGearShifterElement - A
GCGearShifterElementobject represents an attached gear shifter. Both pattern and sequential gear shifters are supported. - GCKeyboard
GCKeyboard - GCKeyboard is available to an application that links to GameController.framework There are 2 ways to access keyboard paired to the system: 1: Querying for the coalescedKeyboard using [GCKeyboard coalescedKeyboard] 2: Registering for Connection/Disconnection notifications from NSNotificationCenter
- GCKeyboard
Input GCKeyboardInputandGCPhysicalInputProfile - Keyboard profile. Contains the current state of buttons specified in GCKeyCodes.h.
- GCMicro
Gamepad GCMicroGamepadandGCPhysicalInputProfile - Apple’s documentation
- GCMicro
Gamepad Snap Shot Data V100 GCMicroGamepadSnapshot - Apple’s documentation
- GCMicro
Gamepad Snapshot Deprecated GCMicroGamepadandGCMicroGamepadSnapshotandGCPhysicalInputProfile - A GCMicroGamepadSnapshot snapshot is a concrete GCMicroGamepad implementation. It can be used directly in an application to implement controller input replays. It is also returned as the result of polling a controller.
- GCMicro
Gamepad Snapshot Data GCMicroGamepadSnapshot - Apple’s documentation
- GCMicro
Gamepad Snapshot Data Version Deprecated GCMicroGamepadSnapshot - Apple’s documentation
- GCMotion
GCMotion - A profile for getting motion input from a controller that has the ability to measure acceleration and rotation rate.
- GCMouse
GCMouse - Mice are available to an application that links to GameController.framework. There are 2 ways to access mice paired to the system. Adopt both to ensure the best user experience:
- GCMouse
Input GCMouseInputandGCPhysicalInputProfile - Mouse profile that represent a physical mouse object with two axis cursor, two axis scroll, left button, optional right and middle buttons and optional set of auxiliary buttons.
- GCPhysical
Input Element Collection GCPhysicalInputElement - An instance of
GCPhysicalInputElementCollectioncontains the collection of input elements found in a device’s physical input profile. - GCPhysical
Input Profile GCPhysicalInputProfile - A game controller profile representing physical buttons, thumbsticks, dpads, etc… on a controller.
- GCPhysical
Input Source Direction GCPhysicalInputSource - One or more directions associated with a
GCPhysicalInputSource. - GCPoint2
GCTypes - Apple’s documentation
- GCQuaternion
GCMotion - Represents a quaternion (one way of parameterizing attitude). If q is an instance of GCQuaternion, mathematically it represents the following quaternion:
- GCRacing
Wheel GCRacingWheel - Apple’s documentation
- GCRacing
Wheel Input GCRacingWheelInput - Apple’s documentation
- GCRacing
Wheel Input State GCRacingWheelInput - Apple’s documentation
- GCRotation
Rate GCMotion - A structure containing 3-axis rotation rate data.
- GCSteering
Wheel Element GCSteeringWheelElement - Apple’s documentation
- GCStylus
GCStylus - An object that represents a physical stylus connected to the device.
- GCSystem
Gesture State GCControllerElement - Elements on a GCDevice can be used for system gestures. The system gesture state represents how input is handled in the app for a controller element that is bound to a system gesture.
- GCTouch
State GCControllerTouchpad - Represents the current state of a touch event on a touchpad.
- GCXbox
Gamepad GCExtendedGamepadandGCPhysicalInputProfileandGCXboxGamepad - The GCXboxGamepad profile represents any supported Xbox controller.
Constants§
- GCDual
Sense Adaptive Trigger Discrete Position Count GCDualSenseAdaptiveTrigger - The number of discrete control positions supported by the DualSense adaptive triggers. Each of these positions can be configured separately in multi-position feedback and multi-position vibration modes.
- kIOHIDGC
Synthetic Device Key GCSyntheticDeviceKeys - Apple’s documentation
Statics§
- GCController
DidBecome ⚠Current Notification GCController - Use these constants with NSNotificationCenter to listen to a controller becoming the most recently used controller. This is a good time to swap out UI to match the new current controller, and unregister any handlers with the old current controller.
- GCController
DidConnect ⚠Notification GCController - Use these constants with NSNotificationCenter to listen to connection and disconnection events.
- GCController
DidDisconnect ⚠Notification GCController - Apple’s documentation
- GCController
DidStop ⚠Being Current Notification GCController - Apple’s documentation
- GCController
User ⚠Customizations DidChange Notification GCController - Use this constant with NSNotificationCenter to listen to controller user customization events.
- GCCurrent
Extended ⚠Gamepad Snapshot Data Version Deprecated GCExtendedGamepadSnapshot - Apple’s documentation
- GCCurrent
Micro ⚠Gamepad Snapshot Data Version Deprecated GCMicroGamepadSnapshot - Apple’s documentation
- GCHaptic
Duration ⚠Infinite GCDeviceHaptics - Apple’s documentation
- GCHaptics
Locality ⚠All GCDeviceHaptics - Apple’s documentation
- GCHaptics
Locality ⚠Default GCDeviceHaptics - Apple’s documentation
- GCHaptics
Locality ⚠Handles GCDeviceHaptics - Apple’s documentation
- GCHaptics
Locality ⚠Left Handle GCDeviceHaptics - Apple’s documentation
- GCHaptics
Locality ⚠Left Trigger GCDeviceHaptics - Apple’s documentation
- GCHaptics
Locality ⚠Right Handle GCDeviceHaptics - Apple’s documentation
- GCHaptics
Locality ⚠Right Trigger GCDeviceHaptics - Apple’s documentation
- GCHaptics
Locality ⚠Triggers GCDeviceHaptics - Apple’s documentation
- GCInput
ButtonA ⚠GCInputNames - A set of commonly used strings that can be used to access controller buttons
- GCInput
ButtonB ⚠GCInputNames - Apple’s documentation
- GCInput
Button ⚠Home GCInputNames - Apple’s documentation
- GCInput
Button ⚠Menu GCInputNames - Apple’s documentation
- GCInput
Button ⚠Options GCInputNames - Apple’s documentation
- GCInput
Button ⚠Share GCInputNames - Apple’s documentation
- GCInput
ButtonX ⚠GCInputNames - Apple’s documentation
- GCInput
ButtonY ⚠GCInputNames - Apple’s documentation
- GCInput
Direction ⚠Pad GCInputNames - Apple’s documentation
- GCInput
Directional ⚠Cardinal Dpad GCDirectionalGamepad - An optional secondary directional input surface for the directional gamepad. This input is guaranteed to be an 8-way digital dpad with physical Up, Down, Left, Right butttons.
- GCInput
Directional ⚠Center Button GCDirectionalGamepad - An optional button for the directional gamepad. This input represents the center button of the cardinal dpad.
- GCInput
Directional ⚠Dpad GCDirectionalGamepad - The primary directional input surface for the directional gamepad
- GCInput
Directional ⚠Touch Surface Button GCDirectionalGamepad - The button corresponding to pressing anywhere on the primary directional input surface for the directional gamepad
- GCInput
Dual ⚠Shock Touchpad Button GCInputNames - Apple’s documentation
- GCInput
Dual ⚠Shock Touchpad One GCInputNames - A set of strings commonly used to access DualShock buttons
- GCInput
Dual ⚠Shock Touchpad Two GCInputNames - Apple’s documentation
- GCInput
Grip ⚠Button GCInputNames - Apple’s documentation
- GCInput
Left ⚠Bumper GCInputNames - Identifies the button element located at the top-left/right of a gamepad, between the left/right shoulder button and the gamepad’s horizontal center.
- GCInput
Left ⚠Paddle GCInputNames - Apple’s documentation
- GCInput
Left ⚠Shoulder GCInputNames - Apple’s documentation
- GCInput
Left ⚠Thumbstick GCInputNames - Apple’s documentation
- GCInput
Left ⚠Thumbstick Button GCInputNames - Apple’s documentation
- GCInput
Left ⚠Trigger GCInputNames - Apple’s documentation
- GCInput
Micro ⚠Gamepad ButtonA GCMicroGamepad - The primary button for the microgamepad
- GCInput
Micro ⚠Gamepad Button Menu GCMicroGamepad - The primary menu button for the microgamepad
- GCInput
Micro ⚠Gamepad ButtonX GCMicroGamepad - The secondary button for the microgamepad
- GCInput
Micro ⚠Gamepad Dpad GCMicroGamepad - The primary directional input surface for the directional gamepad
- GCInput
Pedal ⚠Accelerator GCInputNames - Apple’s documentation
- GCInput
Pedal ⚠Brake GCInputNames - Apple’s documentation
- GCInput
Pedal ⚠Clutch GCInputNames - Apple’s documentation
- GCInput
Right ⚠Bumper GCInputNames - Apple’s documentation
- GCInput
Right ⚠Paddle GCInputNames - Apple’s documentation
- GCInput
Right ⚠Shoulder GCInputNames - Apple’s documentation
- GCInput
Right ⚠Thumbstick GCInputNames - Apple’s documentation
- GCInput
Right ⚠Thumbstick Button GCInputNames - Apple’s documentation
- GCInput
Right ⚠Trigger GCInputNames - Apple’s documentation
- GCInput
Shifter ⚠GCInputNames - Apple’s documentation
- GCInput
Steering ⚠Wheel GCInputNames - A set of strings commonly used by racing wheels.
- GCInput
Stylus ⚠Primary Button GCInputNames - The stylus button used for interacting with virtual objects.
- GCInput
Stylus ⚠Secondary Button GCInputNames - The stylus button used for drawing and writing in air.
- GCInput
Stylus ⚠Tip GCInputNames - The stylus tip button used to detect contact with a surface.
- GCInput
Thumbstick ⚠GCInputNames - Apple’s documentation
- GCInput
Thumbstick ⚠Button GCInputNames - Apple’s documentation
- GCInput
Trigger ⚠GCInputNames - Apple’s documentation
- GCInput
Xbox ⚠Paddle Four GCInputNames - Apple’s documentation
- GCInput
Xbox ⚠Paddle One GCInputNames - A set of strings commonly used to access Xbox buttons
- GCInput
Xbox ⚠Paddle Three GCInputNames - Apple’s documentation
- GCInput
Xbox ⚠Paddle Two GCInputNames - Apple’s documentation
- GCKeyA⚠
GCKeyNames - A set of strings that can be used to access keyboard buttons
- GCKey
Application ⚠GCKeyNames - Apple’s documentation
- GCKeyB⚠
GCKeyNames - Apple’s documentation
- GCKey
Backslash ⚠GCKeyNames - Apple’s documentation
- GCKeyC⚠
GCKeyNames - Apple’s documentation
- GCKey
Caps ⚠Lock GCKeyNames - Apple’s documentation
- GCKey
Close ⚠Bracket GCKeyNames - Apple’s documentation
- GCKey
Code ⚠Application GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Backslash GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Caps Lock GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Close Bracket GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Comma GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Delete Forward GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Delete OrBackspace GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Down Arrow GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Eight GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠End GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Equal Sign GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Escape GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F1 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F2 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F3 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F4 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F5 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F6 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F7 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F8 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F9 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F10 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F11 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F12 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F13 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F14 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F15 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F16 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F17 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F18 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F19 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠F20 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Five GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Four GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Grave Accent AndTilde GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Home GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Hyphen GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Insert GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠International1 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠International2 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠International3 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠International4 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠International5 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠International6 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠International7 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠International8 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠International9 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyA GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyB GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyC GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyD GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyE GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyF GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyG GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyH GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyI GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyJ GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyK GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyL GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyM GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyN GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyO GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyP GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyQ GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyR GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyS GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyT GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyU GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyV GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyW GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyX GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyY GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠KeyZ GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad0 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad1 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad2 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad3 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad4 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad5 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad6 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad7 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad8 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad9 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad Asterisk GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad Enter GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad Equal Sign GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad Hyphen GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad NumLock GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad Period GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad Plus GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Keypad Slash GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
CodeLAN ⚠G1 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
CodeLAN ⚠G2 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
CodeLAN ⚠G3 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
CodeLAN ⚠G4 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
CodeLAN ⚠G5 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
CodeLAN ⚠G6 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
CodeLAN ⚠G7 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
CodeLAN ⚠G8 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
CodeLAN ⚠G9 GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Left Alt GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Left Arrow GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Left Control GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠LeftGUI GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Left Shift GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Nine GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠NonUS Backslash GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠NonUS Pound GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠One GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Open Bracket GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Page Down GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Page Up GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Pause GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Period GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Power GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Print Screen GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Quote GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Return OrEnter GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Right Alt GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Right Arrow GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Right Control GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠RightGUI GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Right Shift GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Scroll Lock GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Semicolon GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Seven GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Six GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Slash GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Spacebar GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Tab GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Three GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Two GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠UpArrow GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Code ⚠Zero GCKeyCodesandobjc2-core-foundation - Apple’s documentation
- GCKey
Comma ⚠GCKeyNames - Apple’s documentation
- GCKeyD⚠
GCKeyNames - Apple’s documentation
- GCKey
Delete ⚠Forward GCKeyNames - Apple’s documentation
- GCKey
Delete ⚠OrBackspace GCKeyNames - Apple’s documentation
- GCKey
Down ⚠Arrow GCKeyNames - Apple’s documentation
- GCKeyE⚠
GCKeyNames - Apple’s documentation
- GCKey
Eight ⚠GCKeyNames - Apple’s documentation
- GCKey
End ⚠GCKeyNames - Apple’s documentation
- GCKey
Equal ⚠Sign GCKeyNames - Apple’s documentation
- GCKey
Escape ⚠GCKeyNames - Apple’s documentation
- GCKeyF⚠
GCKeyNames - Apple’s documentation
- GCKeyF1⚠
GCKeyNames - Apple’s documentation
- GCKeyF2⚠
GCKeyNames - Apple’s documentation
- GCKeyF3⚠
GCKeyNames - Apple’s documentation
- GCKeyF4⚠
GCKeyNames - Apple’s documentation
- GCKeyF5⚠
GCKeyNames - Apple’s documentation
- GCKeyF6⚠
GCKeyNames - Apple’s documentation
- GCKeyF7⚠
GCKeyNames - Apple’s documentation
- GCKeyF8⚠
GCKeyNames - Apple’s documentation
- GCKeyF9⚠
GCKeyNames - Apple’s documentation
- GCKey
F10 ⚠GCKeyNames - Apple’s documentation
- GCKey
F11 ⚠GCKeyNames - Apple’s documentation
- GCKey
F12 ⚠GCKeyNames - Apple’s documentation
- GCKey
F13 ⚠GCKeyNames - Apple’s documentation
- GCKey
F14 ⚠GCKeyNames - Apple’s documentation
- GCKey
F15 ⚠GCKeyNames - Apple’s documentation
- GCKey
F16 ⚠GCKeyNames - Apple’s documentation
- GCKey
F17 ⚠GCKeyNames - Apple’s documentation
- GCKey
F18 ⚠GCKeyNames - Apple’s documentation
- GCKey
F19 ⚠GCKeyNames - Apple’s documentation
- GCKey
F20 ⚠GCKeyNames - Apple’s documentation
- GCKey
Five ⚠GCKeyNames - Apple’s documentation
- GCKey
Four ⚠GCKeyNames - Apple’s documentation
- GCKeyG⚠
GCKeyNames - Apple’s documentation
- GCKey
Grave ⚠Accent AndTilde GCKeyNames - Apple’s documentation
- GCKeyH⚠
GCKeyNames - Apple’s documentation
- GCKey
Home ⚠GCKeyNames - Apple’s documentation
- GCKey
Hyphen ⚠GCKeyNames - Apple’s documentation
- GCKeyI⚠
GCKeyNames - Apple’s documentation
- GCKey
Insert ⚠GCKeyNames - Apple’s documentation
- GCKey
International1 ⚠GCKeyNames - Apple’s documentation
- GCKey
International2 ⚠GCKeyNames - Apple’s documentation
- GCKey
International3 ⚠GCKeyNames - Apple’s documentation
- GCKey
International4 ⚠GCKeyNames - Apple’s documentation
- GCKey
International5 ⚠GCKeyNames - Apple’s documentation
- GCKey
International6 ⚠GCKeyNames - Apple’s documentation
- GCKey
International7 ⚠GCKeyNames - Apple’s documentation
- GCKey
International8 ⚠GCKeyNames - Apple’s documentation
- GCKey
International9 ⚠GCKeyNames - Apple’s documentation
- GCKeyJ⚠
GCKeyNames - Apple’s documentation
- GCKeyK⚠
GCKeyNames - Apple’s documentation
- GCKey
Keypad0 ⚠GCKeyNames - Apple’s documentation
- GCKey
Keypad1 ⚠GCKeyNames - Apple’s documentation
- GCKey
Keypad2 ⚠GCKeyNames - Apple’s documentation
- GCKey
Keypad3 ⚠GCKeyNames - Apple’s documentation
- GCKey
Keypad4 ⚠GCKeyNames - Apple’s documentation
- GCKey
Keypad5 ⚠GCKeyNames - Apple’s documentation
- GCKey
Keypad6 ⚠GCKeyNames - Apple’s documentation
- GCKey
Keypad7 ⚠GCKeyNames - Apple’s documentation
- GCKey
Keypad8 ⚠GCKeyNames - Apple’s documentation
- GCKey
Keypad9 ⚠GCKeyNames - Apple’s documentation
- GCKey
Keypad ⚠Asterisk GCKeyNames - Apple’s documentation
- GCKey
Keypad ⚠Enter GCKeyNames - Apple’s documentation
- GCKey
Keypad ⚠Equal Sign GCKeyNames - Apple’s documentation
- GCKey
Keypad ⚠Hyphen GCKeyNames - Apple’s documentation
- GCKey
Keypad ⚠NumLock GCKeyNames - Apple’s documentation
- GCKey
Keypad ⚠Period GCKeyNames - Apple’s documentation
- GCKey
Keypad ⚠Plus GCKeyNames - Apple’s documentation
- GCKey
Keypad ⚠Slash GCKeyNames - Apple’s documentation
- GCKeyL⚠
GCKeyNames - Apple’s documentation
- GCKeyLAN
G1 ⚠GCKeyNames - Apple’s documentation
- GCKeyLAN
G2 ⚠GCKeyNames - Apple’s documentation
- GCKeyLAN
G3 ⚠GCKeyNames - Apple’s documentation
- GCKeyLAN
G4 ⚠GCKeyNames - Apple’s documentation
- GCKeyLAN
G5 ⚠GCKeyNames - Apple’s documentation
- GCKeyLAN
G6 ⚠GCKeyNames - Apple’s documentation
- GCKeyLAN
G7 ⚠GCKeyNames - Apple’s documentation
- GCKeyLAN
G8 ⚠GCKeyNames - Apple’s documentation
- GCKeyLAN
G9 ⚠GCKeyNames - Apple’s documentation
- GCKey
Left ⚠Alt GCKeyNames - Apple’s documentation
- GCKey
Left ⚠Arrow GCKeyNames - Apple’s documentation
- GCKey
Left ⚠Control GCKeyNames - Apple’s documentation
- GCKey
LeftGUI ⚠GCKeyNames - Apple’s documentation
- GCKey
Left ⚠Shift GCKeyNames - Apple’s documentation
- GCKeyM⚠
GCKeyNames - Apple’s documentation
- GCKeyN⚠
GCKeyNames - Apple’s documentation
- GCKey
Nine ⚠GCKeyNames - Apple’s documentation
- GCKey
NonUS ⚠Backslash GCKeyNames - Apple’s documentation
- GCKey
NonUS ⚠Pound GCKeyNames - Apple’s documentation
- GCKeyO⚠
GCKeyNames - Apple’s documentation
- GCKey
One ⚠GCKeyNames - Apple’s documentation
- GCKey
Open ⚠Bracket GCKeyNames - Apple’s documentation
- GCKeyP⚠
GCKeyNames - Apple’s documentation
- GCKey
Page ⚠Down GCKeyNames - Apple’s documentation
- GCKey
Page ⚠Up GCKeyNames - Apple’s documentation
- GCKey
Pause ⚠GCKeyNames - Apple’s documentation
- GCKey
Period ⚠GCKeyNames - Apple’s documentation
- GCKey
Power ⚠GCKeyNames - Apple’s documentation
- GCKey
Print ⚠Screen GCKeyNames - Apple’s documentation
- GCKeyQ⚠
GCKeyNames - Apple’s documentation
- GCKey
Quote ⚠GCKeyNames - Apple’s documentation
- GCKeyR⚠
GCKeyNames - Apple’s documentation
- GCKey
Return ⚠OrEnter GCKeyNames - Apple’s documentation
- GCKey
Right ⚠Alt GCKeyNames - Apple’s documentation
- GCKey
Right ⚠Arrow GCKeyNames - Apple’s documentation
- GCKey
Right ⚠Control GCKeyNames - Apple’s documentation
- GCKey
RightGUI ⚠GCKeyNames - Apple’s documentation
- GCKey
Right ⚠Shift GCKeyNames - Apple’s documentation
- GCKeyS⚠
GCKeyNames - Apple’s documentation
- GCKey
Scroll ⚠Lock GCKeyNames - Apple’s documentation
- GCKey
Semicolon ⚠GCKeyNames - Apple’s documentation
- GCKey
Seven ⚠GCKeyNames - Apple’s documentation
- GCKey
Six ⚠GCKeyNames - Apple’s documentation
- GCKey
Slash ⚠GCKeyNames - Apple’s documentation
- GCKey
Spacebar ⚠GCKeyNames - Apple’s documentation
- GCKeyT⚠
GCKeyNames - Apple’s documentation
- GCKey
Tab ⚠GCKeyNames - Apple’s documentation
- GCKey
Three ⚠GCKeyNames - Apple’s documentation
- GCKey
Two ⚠GCKeyNames - Apple’s documentation
- GCKeyU⚠
GCKeyNames - Apple’s documentation
- GCKey
UpArrow ⚠GCKeyNames - Apple’s documentation
- GCKeyV⚠
GCKeyNames - Apple’s documentation
- GCKeyW⚠
GCKeyNames - Apple’s documentation
- GCKeyX⚠
GCKeyNames - Apple’s documentation
- GCKeyY⚠
GCKeyNames - Apple’s documentation
- GCKeyZ⚠
GCKeyNames - Apple’s documentation
- GCKey
Zero ⚠GCKeyNames - Apple’s documentation
- GCKeyboard
DidConnect ⚠Notification GCKeyboard - Use these constants with NSNotificationCenter to listen to connection and disconnection events
- GCKeyboard
DidDisconnect ⚠Notification GCKeyboard - Apple’s documentation
- GCMouse
DidBecome ⚠Current Notification GCMouse - Use these constants with NSNotificationCenter to listen to a controller becoming the most recently used mouse. This is a good time to swap out UI to match the new current mouse, and unregister any handlers with the old current controller.
- GCMouse
DidConnect ⚠Notification GCMouse - Use these constants with NSNotificationCenter to listen to connection and disconnection events.
- GCMouse
DidDisconnect ⚠Notification GCMouse - Apple’s documentation
- GCMouse
DidStop ⚠Being Current Notification GCMouse - Apple’s documentation
- GCPoint2
Zero ⚠GCTypes - Apple’s documentation
- GCProduct
Category ⚠Arcade Stick GCProductCategories - Apple’s documentation
- GCProduct
Category ⚠Coalesced Remote GCProductCategories - If multiple remotes have been combined into one, the device will have the GCProductCategoryCoalescedRemote product category.
- GCProduct
Category ⚠Control Center Remote GCProductCategories - Users can use Apple TV Remote controls in Control Center on an iOS or iPadOS device.
- GCProduct
Category ⚠Dual Sense GCProductCategories - Game Controller Product Categories
- GCProduct
Category ⚠Dual Shock4 GCProductCategories - Apple’s documentation
- GCProduct
CategoryHID ⚠GCProductCategories - Apple’s documentation
- GCProduct
Category ⚠Keyboard GCProductCategories - Apple’s documentation
- GCProduct
CategoryM ⚠Fi GCProductCategories - Apple’s documentation
- GCProduct
Category ⚠Mouse GCProductCategories - Keyboards and Mice Product Categories
- GCProduct
Category ⚠Siri Remote1st Gen GCProductCategories - The Siri Remote (1st generation), or Apple TV Remote (1st generation), was first introduced in 2015. It features a Touch surface for touch navigation, and supports device motion.
- GCProduct
Category ⚠Siri Remote2nd Gen GCProductCategories - The Siri Remote (2nd generation), or Apple TV Remote (2nd generation), was first introduced in 2021. It features a touch-enabled clickpad for navigation.
- GCProduct
Category ⚠Spatial Controller GCProductCategories - The category for game controller products that support 6DoF tracking on visionOS.
- GCProduct
Category ⚠Spatial Stylus GCProductCategories - The category for stylus products that support 6DoF tracking on visionOS.
- GCProduct
Category ⚠Universal Electronics Remote GCProductCategories - The Universal Electronics remote is an infrared and Bluetooth Low Energy remote designed to work with the Apple TV.
- GCProduct
Category ⚠Xbox One GCProductCategories - Apple’s documentation
- GCRacing
Wheel ⚠DidConnect Notification GCRacingWheel - Use these constants with NSNotificationCenter to listen to connection and disconnection events.
- GCRacing
Wheel ⚠DidDisconnect Notification GCRacingWheel - Apple’s documentation
- GCStylus
DidConnect ⚠Notification GCStylus - A notification that posts after a stylus accessory connects to the device.
- GCStylus
DidDisconnect ⚠Notification GCStylus - A notification that posts after a stylus accessory disconnects from the device.
Traits§
- GCAxis2D
Input GCAxis2DInput - An object conforming to
GCAxis2DInputrepresents an input that produces a pair of normalized values - between [-1, 1] - along two axes with fixed origin. The origin - a value of 0 - corresponds the neutral state of the input. - GCAxis
Element GCAxisElementandGCPhysicalInputElement - Apple’s documentation
- GCAxis
Element Name GCInputNames - Apple’s documentation
- GCAxis
Input GCAxisInput - An object conforming to
GCAxisInputrepresents an input that produces normalized values - between [-1, 1] - along an axis with a fixed origin. The origin - a value of 0 - corresponds the neutral state of the input. - GCButton
Element GCButtonElementandGCPhysicalInputElement - An object conforming to
GCButtonElementrepresents a momentary switch, such as a push button. A button’s input only asserts while the user is interacting with it, and then returns to a preferred state (not pressed, not touched). - GCButton
Element Name GCInputNames - Apple’s documentation
- GCDevice
GCDevice - Apple’s documentation
- GCDevice
Physical Input GCDevicePhysicalInputandGCDevicePhysicalInputState - An objecting conforming to
GCDevicePhysicalInputprovides properties and methods for accessing common physical elements - buttons, thumbsticks, dpads, etc - of a device. - GCDevice
Physical Input State GCDevicePhysicalInputState - An object conforming to
GCDevicePhysicalInputStatecontains the state of a device’s physical inputs. This may be either the “live” physical input state if the same object also conforms toGCDevicePhysicalInput,or a snapshot of the physical input state. - GCDevice
Physical Input State Diff GCDevicePhysicalInputStateDiff - An object conforming to the
GCDevicePhysicalInputStateDiffprotocol contains the input state differences between the current and previousGCDevicePhysicalInputStateobjects returned from the-nextInputStatemethod ofGCDevicePhysicalInput. - GCDirection
PadElement GCDirectionPadElementandGCPhysicalInputElement - An object conforming to
GCDirectionPadElementrepresents a four-way directional control element. - GCDirection
PadElement Name GCInputNames - Apple’s documentation
- GCLinear
Input GCLinearInput - An object conforming to
GCLinearInputrepresents an input that produces normalized values in the unit interval - between [0, 1]. - GCPhysical
Input Element GCPhysicalInputElement - The
GCPhysicalInputElementprotocol is a base protocol for specific types of elements that represent controls on a device. - GCPhysical
Input Element Name GCInputNames - Apple’s documentation
- GCPhysical
Input Source GCPhysicalInputSource - A description of the actual physical input element that a user interacts with to manipulate the the value of an input that is exposed to the app.
- GCPressed
State Input GCPressedStateInput - An object conforming to
GCPressedStateInputrepresents the pressed state of an element, typically a button. - GCRelative
Input GCRelativeInput - An object conforming to
GCRelativeInputrepresents an input that reports its change in position along an axis (delta) since the previous event. Relative inputs have no fixed origin from which a coordinate syatem can be defined. - GCSwitch
Element GCPhysicalInputElementandGCSwitchElement - An object conforming to
GCSwitchElementrepresents a latching switch. A switch may be in one of several positions, and remains in its last position after the user stops interacting with it. - GCSwitch
Element Name GCInputNames - Apple’s documentation
- GCSwitch
Position Input GCSwitchPositionInput - Apple’s documentation
- GCTouched
State Input GCTouchedStateInput - An object conforming to
GCTouchedStateInputrepresents the touched state of an element. - NSValueGC
Types GCTypes - Category “GCTypes” on
NSValue.
Functions§
- GCExtended
Gamepad ⚠Snap Shot Data V100 FromNS Data Deprecated GCExtendedGamepadSnapshot - GCExtended
Gamepad ⚠Snapshot Data FromNS Data Deprecated GCExtendedGamepadSnapshot - GCGamepad
Snap ⚠Shot Data V100 FromNS Data Deprecated GCGamepadSnapshot - GCInput
Arcade ⚠Button Name GCInputNames - Gets the name of an arcade button at a certain position.
- GCInput
Back ⚠Left Button GCInputNames - GCInput
Back ⚠Right Button GCInputNames - GCMicro
Gamepad ⚠Snap Shot Data V100 FromNS Data Deprecated GCMicroGamepadSnapshot - GCMicro
Gamepad ⚠Snapshot Data FromNS Data Deprecated GCMicroGamepadSnapshot - NSData
FromGC ⚠Extended Gamepad Snap Shot Data V100 Deprecated GCExtendedGamepadSnapshot - Creates an NSData object from a v100 snapshot. If the version and size is not set in the snapshot the data will automatically have version 0x100 and sizeof(GCExtendedGamepadSnapShotDataV100) set as the values implicitly.
- NSData
FromGC ⚠Extended Gamepad Snapshot Data Deprecated GCExtendedGamepadSnapshot - Creates an NSData object from a snapshot. If the version and size is not set in the snapshot the data will automatically have the version GCCurrentExtendedGamepadSnapshotDataVersion and sizeof(GCExtendedGamepadSnapshotData) set as the values implicitly.
- NSData
FromGC ⚠Gamepad Snap Shot Data V100 Deprecated GCGamepadSnapshot - Creates an NSData object from a v100 snapshot. If the version and size is not set in the snapshot the data will automatically have version 0x100 and sizeof(GCGamepadSnapShotDataV100) set as the values implicitly.
- NSData
FromGC ⚠Micro Gamepad Snap Shot Data V100 Deprecated GCMicroGamepadSnapshot - Creates an NSData object from a v100 snapshot. If the version and size is not set in the snapshot the data will automatically have version 0x100 and sizeof(GCMicroGamepadSnapShotDataV100) set as the values implicitly.
- NSData
FromGC ⚠Micro Gamepad Snapshot Data Deprecated GCMicroGamepadSnapshot - Creates an NSData object from a snapshot. If the version and size is not set in the snapshot the data will automatically have version GCCurrentMicroGamepadSnapshotDataVersion and sizeof(GCMicroGamepadSnapshotData) set as the values implicitly.
- NSString
FromGC ⚠Point2 GCTypes
Type Aliases§
- GCController
Axis Value Changed Handler GCControllerAxisInputandGCControllerElementandblock2 - Set this block if you want to be notified when the value on this axis changes.
- GCController
Button Touched Changed Handler GCControllerButtonInputandGCControllerElementandblock2 - Set this block if you want to be notified when the touched state on this button changes.
- GCController
Button Value Changed Handler GCControllerButtonInputandGCControllerElementandblock2 - Set this block if you want to be notified when the value on this button changes.
- GCController
Direction PadValue Changed Handler GCControllerDirectionPadandGCControllerElementandblock2 - Set this block if you want to be notified when the value on this axis changes.
- GCController
Touchpad Handler GCControllerElementandGCControllerTouchpadandblock2 - Set this block if you want to be notified when an axis or the touch state changes.
- GCExtended
Gamepad Value Changed Handler GCControllerElementandGCExtendedGamepadandGCPhysicalInputProfileandblock2 - Set this block if you want to be notified when a value on a element changed. If multiple elements have changed this block will be called for each element that changed. As elements in a collection, such as the axis in a dpad, tend to change at the same time and thus will only call this once with the collection as the element.
- GCGamepad
Value Changed Handler GCControllerElementandGCGamepadandGCPhysicalInputProfileandblock2 - Set this block if you want to be notified when a value on a element changed. If multiple elements have changed this block will be called for each element that changed. As elements in a collection, such as the axis in a dpad, tend to change at the same time and thus will only call this once with the collection as the element.
- GCHaptics
Locality GCDeviceHaptics - A GCHapticsLocality represents the locations of haptic actuators on a controller. You can create a haptic engine with a given GCHapticsLocality, and any patterns you send to that engine will play on all specified actuators.
- GCInput
Axis Name GCInputNames - Apple’s documentation
- GCInput
Button Name GCInputNames - Apple’s documentation
- GCInput
Direction PadName GCInputNames - Apple’s documentation
- GCInput
Element Name GCInputNames - Apple’s documentation
- GCInput
Switch Name GCInputNames - Apple’s documentation
- GCKey
Code GCKeyCodesandobjc2-core-foundation - A set of low level key codes that can be used to access keyboard buttons
- GCKeyboard
Value Changed Handler GCControllerButtonInputandGCControllerElementandGCKeyCodesandGCKeyboardInputandGCPhysicalInputProfileandblock2andobjc2-core-foundation - Set this block if you want to be notified when a value of a key changed. If multiple keys have changed this block will be called cd for each key that changed.
- GCMicro
Gamepad Value Changed Handler GCControllerElementandGCMicroGamepadandGCPhysicalInputProfileandblock2 - Set this block if you want to be notified when a value on a element changed. If multiple elements have changed this block will be called for each element that changed. As elements in a collection, such as the axis in a dpad, tend to change at the same time and thus will only call this once with the collection as the element.
- GCMotion
Value Changed Handler GCMotionandblock2 - Called whenever a motion value changed.
- GCMouse
Moved GCMouseInputandGCPhysicalInputProfileandblock2 - Set this block if you want to be notified when the mouse was moved