Package apple.gamecontroller.c
Class GameController
- java.lang.Object
-
- apple.gamecontroller.c.GameController
-
public final class GameController extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static @NotNull java.lang.StringGCControllerDidBecomeCurrentNotification()Use these constants with NSNotificationCenter to listen to a controller becoming the most recently used controller.static @NotNull java.lang.StringGCControllerDidConnectNotification()Use these constants with NSNotificationCenter to listen to connection and disconnection events.static @NotNull java.lang.StringGCControllerDidDisconnectNotification()API-Since: 7.0static @NotNull java.lang.StringGCControllerDidStopBeingCurrentNotification()API-Since: 14.0static @NotNull java.lang.StringGCControllerUserCustomizationsDidChangeNotification()Use this constant with NSNotificationCenter to listen to controller user customization events.static longGCCurrentExtendedGamepadSnapshotDataVersion()Deprecated.static longGCCurrentMicroGamepadSnapshotDataVersion()Deprecated.static booleanGCExtendedGamepadSnapshotDataFromNSData(@Nullable GCExtendedGamepadSnapshotData snapshotData, @Nullable NSData data)Deprecated.static booleanGCExtendedGamepadSnapShotDataV100FromNSData(@Nullable GCExtendedGamepadSnapShotDataV100 snapshotData, @Nullable NSData data)Deprecated.static booleanGCGamepadSnapShotDataV100FromNSData(@Nullable GCGamepadSnapShotDataV100 snapshotData, @Nullable NSData data)Deprecated.static floatGCHapticDurationInfinite()API-Since: 14.0static @NotNull java.lang.StringGCHapticsLocalityAll()guaranteed to be supported API-Since: 14.0static @NotNull java.lang.StringGCHapticsLocalityDefault()guaranteed to be supported API-Since: 14.0static @NotNull java.lang.StringGCHapticsLocalityHandles()API-Since: 14.0static @NotNull java.lang.StringGCHapticsLocalityLeftHandle()API-Since: 14.0static @NotNull java.lang.StringGCHapticsLocalityLeftTrigger()API-Since: 14.0static @NotNull java.lang.StringGCHapticsLocalityRightHandle()API-Since: 14.0static @NotNull java.lang.StringGCHapticsLocalityRightTrigger()API-Since: 14.0static @NotNull java.lang.StringGCHapticsLocalityTriggers()API-Since: 14.0static java.lang.StringGCInputArcadeButtonName(long row, long column)Gets the name of an arcade button at a certain position.static java.lang.StringGCInputButtonA()A set of commonly used strings that can be used to access controller buttons [@example] controller.physicalInputProfile.buttons[GCInputButtonA]static java.lang.StringGCInputButtonB()API-Since: 14.0static java.lang.StringGCInputButtonHome()API-Since: 14.0static java.lang.StringGCInputButtonMenu()API-Since: 14.0static java.lang.StringGCInputButtonOptions()API-Since: 14.0static java.lang.StringGCInputButtonShare()API-Since: 15.0static java.lang.StringGCInputButtonX()API-Since: 14.0static java.lang.StringGCInputButtonY()API-Since: 14.0static @NotNull java.lang.StringGCInputDirectionalCardinalDpad()An optional secondary directional input surface for the directional gamepad.static @NotNull java.lang.StringGCInputDirectionalCenterButton()An optional button for the directional gamepad.static @NotNull java.lang.StringGCInputDirectionalDpad()The primary directional input surface for the directional gamepad [@note] Equivalent to microgamepad.dpad [@note] For the 2021 2nd generation Siri Remote, this represents touching anywhere on the entire touch surface - including the inner and outer rings.static @NotNull java.lang.StringGCInputDirectionalTouchSurfaceButton()The button corresponding to pressing anywhere on the primary directional input surface for the directional gamepad [@note] Equivalent to microgamepad.buttonA [@note] For the 2021 2nd generation Siri Remote, this represents pressing anywhere the entire touch surface - including the inner and outer rings.static java.lang.StringGCInputDirectionPad()API-Since: 14.0static java.lang.StringGCInputDualShockTouchpadButton()API-Since: 14.0static java.lang.StringGCInputDualShockTouchpadOne()A set of strings commonly used to access DualShock buttons [@example] controller.physicalInputProfile.dpads[GCInputDualShockTouchpadOne]static java.lang.StringGCInputDualShockTouchpadTwo()API-Since: 14.0static java.lang.StringGCInputLeftShoulder()API-Since: 14.0static java.lang.StringGCInputLeftThumbstick()API-Since: 14.0static java.lang.StringGCInputLeftThumbstickButton()API-Since: 14.0static java.lang.StringGCInputLeftTrigger()API-Since: 14.0static @NotNull java.lang.StringGCInputMicroGamepadButtonA()The primary button for the microgamepad [@note] For the 1st generation and 2nd generation Siri Remotes, this represents pressing anywhere on the touch surface.static @NotNull java.lang.StringGCInputMicroGamepadButtonMenu()The primary menu button for the microgamepad [@note] Equivalent to microgamepad.buttonMenu [@note] For the 1st generation Siri Remote, this represents pressing the play/pause button.static @NotNull java.lang.StringGCInputMicroGamepadButtonX()The secondary button for the microgamepad [@note] Equivalent to microgamepad.buttonX [@note] For the 1st and 2nd generation Siri Remotes, this represents pressing the play/pause button.static @NotNull java.lang.StringGCInputMicroGamepadDpad()The primary directional input surface for the directional gamepad [@note] Equivalent to microgamepad.dpad [@note] For the 1st generation and 2nd generation Siri Remotes, this represents touching anywhere on the entire touch surface.static java.lang.StringGCInputRightShoulder()API-Since: 14.0static java.lang.StringGCInputRightThumbstick()API-Since: 14.0static java.lang.StringGCInputRightThumbstickButton()API-Since: 14.0static java.lang.StringGCInputRightTrigger()API-Since: 14.0static java.lang.StringGCInputXboxPaddleFour()API-Since: 14.0static java.lang.StringGCInputXboxPaddleOne()A set of strings commonly used to access Xbox buttons [@example] controller.physicalInputProfile.buttons[GCInputButtonPaddleOne]static java.lang.StringGCInputXboxPaddleThree()API-Since: 14.0static java.lang.StringGCInputXboxPaddleTwo()API-Since: 14.0static @NotNull java.lang.StringGCKeyA()a or A API-Since: 14.0static @NotNull java.lang.StringGCKeyApplication()Application API-Since: 14.0static @NotNull java.lang.StringGCKeyB()b or B API-Since: 14.0static @NotNull java.lang.StringGCKeyBackslash()\ or | API-Since: 14.0static @NotNull java.lang.StringGCKeyboardDidConnectNotification()Use these constants with NSNotificationCenter to listen to connection and disconnection events Use GCKeyboardDidConnectNotification for observing keyboard connection Use GCKeyboardDidDisconnectNotification for observing keyboard disconnection The 'object' property of the notification will contain the GCKeyboard that was connected or disconnected.static @NotNull java.lang.StringGCKeyboardDidDisconnectNotification()API-Since: 14.0static @NotNull java.lang.StringGCKeyC()c or C API-Since: 14.0static @NotNull java.lang.StringGCKeyCapsLock()Caps Lock API-Since: 14.0static @NotNull java.lang.StringGCKeyCloseBracket()] or } API-Since: 14.0static longGCKeyCodeApplication()Application API-Since: 14.0static longGCKeyCodeBackslash()\ or | API-Since: 14.0static longGCKeyCodeCapsLock()Caps Lock API-Since: 14.0static longGCKeyCodeCloseBracket()] or } API-Since: 14.0static longGCKeyCodeComma(), or < API-Since: 14.0static longGCKeyCodeDeleteForward()Delete Forward API-Since: 14.0static longGCKeyCodeDeleteOrBackspace()Delete (Backspace) API-Since: 14.0static longGCKeyCodeDownArrow()Down Arrow API-Since: 14.0static longGCKeyCodeEight()8 or * API-Since: 14.0static longGCKeyCodeEnd()End API-Since: 14.0static longGCKeyCodeEqualSign()= or + API-Since: 14.0static longGCKeyCodeEscape()Escape API-Since: 14.0static longGCKeyCodeF1()F1 API-Since: 14.0static longGCKeyCodeF10()F10 API-Since: 14.0static longGCKeyCodeF11()F11 API-Since: 14.0static longGCKeyCodeF12()F12 API-Since: 14.0static longGCKeyCodeF13()F13 API-Since: 15.0static longGCKeyCodeF14()F14 API-Since: 15.0static longGCKeyCodeF15()F15 API-Since: 15.0static longGCKeyCodeF16()F16 API-Since: 15.0static longGCKeyCodeF17()F17 API-Since: 15.0static longGCKeyCodeF18()F18 API-Since: 15.0static longGCKeyCodeF19()F19 API-Since: 15.0static longGCKeyCodeF2()F2 API-Since: 14.0static longGCKeyCodeF20()F20 API-Since: 15.0static longGCKeyCodeF3()F3 API-Since: 14.0static longGCKeyCodeF4()F4 API-Since: 14.0static longGCKeyCodeF5()F5 API-Since: 14.0static longGCKeyCodeF6()F6 API-Since: 14.0static longGCKeyCodeF7()F7 API-Since: 14.0static longGCKeyCodeF8()F8 API-Since: 14.0static longGCKeyCodeF9()F9 API-Since: 14.0static longGCKeyCodeFive()5 or % API-Since: 14.0static longGCKeyCodeFour()4 or $ API-Since: 14.0static longGCKeyCodeGraveAccentAndTilde()Grave Accent and Tilde API-Since: 14.0static longGCKeyCodeHome()Home API-Since: 14.0static longGCKeyCodeHyphen()- or _ API-Since: 14.0static longGCKeyCodeInsert()Insert API-Since: 14.0static longGCKeyCodeInternational1()International1 API-Since: 14.0static longGCKeyCodeInternational2()International2 API-Since: 14.0static longGCKeyCodeInternational3()International3 API-Since: 14.0static longGCKeyCodeInternational4()International4 API-Since: 14.0static longGCKeyCodeInternational5()International5 API-Since: 14.0static longGCKeyCodeInternational6()International6 API-Since: 14.0static longGCKeyCodeInternational7()International7 API-Since: 14.0static longGCKeyCodeInternational8()International8 API-Since: 14.0static longGCKeyCodeInternational9()International9 API-Since: 14.0static longGCKeyCodeKeyA()a or A API-Since: 14.0static longGCKeyCodeKeyB()b or B API-Since: 14.0static longGCKeyCodeKeyC()c or C API-Since: 14.0static longGCKeyCodeKeyD()d or D API-Since: 14.0static longGCKeyCodeKeyE()e or E API-Since: 14.0static longGCKeyCodeKeyF()f or F API-Since: 14.0static longGCKeyCodeKeyG()g or G API-Since: 14.0static longGCKeyCodeKeyH()h or H API-Since: 14.0static longGCKeyCodeKeyI()i or I API-Since: 14.0static longGCKeyCodeKeyJ()j or J API-Since: 14.0static longGCKeyCodeKeyK()k or K API-Since: 14.0static longGCKeyCodeKeyL()l or L API-Since: 14.0static longGCKeyCodeKeyM()m or M API-Since: 14.0static longGCKeyCodeKeyN()n or N API-Since: 14.0static longGCKeyCodeKeyO()o or O API-Since: 14.0static longGCKeyCodeKeyP()p or P API-Since: 14.0static longGCKeyCodeKeypad0()Keypad 0 or Insert API-Since: 14.0static longGCKeyCodeKeypad1()Keypad 1 or End API-Since: 14.0static longGCKeyCodeKeypad2()Keypad 2 or Down Arrow API-Since: 14.0static longGCKeyCodeKeypad3()Keypad 3 or Page Down API-Since: 14.0static longGCKeyCodeKeypad4()Keypad 4 or Left Arrow API-Since: 14.0static longGCKeyCodeKeypad5()Keypad 5 API-Since: 14.0static longGCKeyCodeKeypad6()Keypad 6 or Right Arrow API-Since: 14.0static longGCKeyCodeKeypad7()Keypad 7 or Home API-Since: 14.0static longGCKeyCodeKeypad8()Keypad 8 or Up Arrow API-Since: 14.0static longGCKeyCodeKeypad9()Keypad 9 or Page Up API-Since: 14.0static longGCKeyCodeKeypadAsterisk()Keypad * API-Since: 14.0static longGCKeyCodeKeypadEnter()Keypad Enter API-Since: 14.0static longGCKeyCodeKeypadEqualSign()Keypad = API-Since: 14.0static longGCKeyCodeKeypadHyphen()Keypad - API-Since: 14.0static longGCKeyCodeKeypadNumLock()Keypad NumLock or Clear API-Since: 14.0static longGCKeyCodeKeypadPeriod()Keypad .static longGCKeyCodeKeypadPlus()Keypad + API-Since: 14.0static longGCKeyCodeKeypadSlash()Keypad / API-Since: 14.0static longGCKeyCodeKeyQ()q or Q API-Since: 14.0static longGCKeyCodeKeyR()r or R API-Since: 14.0static longGCKeyCodeKeyS()s or S API-Since: 14.0static longGCKeyCodeKeyT()t or T API-Since: 14.0static longGCKeyCodeKeyU()u or U API-Since: 14.0static longGCKeyCodeKeyV()v or V API-Since: 14.0static longGCKeyCodeKeyW()w or W API-Since: 14.0static longGCKeyCodeKeyX()x or X API-Since: 14.0static longGCKeyCodeKeyY()y or Y API-Since: 14.0static longGCKeyCodeKeyZ()z or Z API-Since: 14.0static longGCKeyCodeLANG1()LANG1 API-Since: 14.0static longGCKeyCodeLANG2()LANG2 API-Since: 14.0static longGCKeyCodeLANG3()LANG3 API-Since: 14.0static longGCKeyCodeLANG4()LANG4 API-Since: 14.0static longGCKeyCodeLANG5()LANG5 API-Since: 14.0static longGCKeyCodeLANG6()LANG6 API-Since: 14.0static longGCKeyCodeLANG7()LANG7 API-Since: 14.0static longGCKeyCodeLANG8()LANG8 API-Since: 14.0static longGCKeyCodeLANG9()LANG9 API-Since: 14.0static longGCKeyCodeLeftAlt()Left Alt API-Since: 14.0static longGCKeyCodeLeftArrow()Left Arrow API-Since: 14.0static longGCKeyCodeLeftControl()Left Control API-Since: 14.0static longGCKeyCodeLeftGUI()Left GUI API-Since: 14.0static longGCKeyCodeLeftShift()Left Shift API-Since: 14.0static longGCKeyCodeNine()9 or ( API-Since: 14.0static longGCKeyCodeNonUSBackslash()Non-US \ or | API-Since: 14.0static longGCKeyCodeNonUSPound()Non-US # or _ API-Since: 14.0static longGCKeyCodeOne()1 or ! API-Since: 14.0static longGCKeyCodeOpenBracket()[ or { API-Since: 14.0static longGCKeyCodePageDown()Page Down API-Since: 14.0static longGCKeyCodePageUp()Page Up API-Since: 14.0static longGCKeyCodePause()Pause API-Since: 14.0static longGCKeyCodePeriod().static longGCKeyCodePower()Power API-Since: 14.0static longGCKeyCodePrintScreen()Print Screen API-Since: 14.0static longGCKeyCodeQuote()' or " API-Since: 14.0static longGCKeyCodeReturnOrEnter()Return (Enter) API-Since: 14.0static longGCKeyCodeRightAlt()Right Alt API-Since: 14.0static longGCKeyCodeRightArrow()Right Arrow API-Since: 14.0static longGCKeyCodeRightControl()Right Control API-Since: 14.0static longGCKeyCodeRightGUI()Right GUI API-Since: 14.0static longGCKeyCodeRightShift()Right Shift API-Since: 14.0static longGCKeyCodeScrollLock()Scroll Lock API-Since: 14.0static longGCKeyCodeSemicolon(); or : API-Since: 14.0static longGCKeyCodeSeven()7 or & API-Since: 14.0static longGCKeyCodeSix()6 or ^ API-Since: 14.0static longGCKeyCodeSlash()/ or ? API-Since: 14.0static longGCKeyCodeSpacebar()Spacebar API-Since: 14.0static longGCKeyCodeTab()Tab API-Since: 14.0static longGCKeyCodeThree()3 or # API-Since: 14.0static longGCKeyCodeTwo()2 or @ API-Since: 14.0static longGCKeyCodeUpArrow()Up Arrow API-Since: 14.0static longGCKeyCodeZero()0 or ) API-Since: 14.0static @NotNull java.lang.StringGCKeyComma(), or < API-Since: 14.0static @NotNull java.lang.StringGCKeyD()d or D API-Since: 14.0static @NotNull java.lang.StringGCKeyDeleteForward()Delete Forward API-Since: 14.0static @NotNull java.lang.StringGCKeyDeleteOrBackspace()Delete (Backspace) API-Since: 14.0static @NotNull java.lang.StringGCKeyDownArrow()Down Arrow API-Since: 14.0static @NotNull java.lang.StringGCKeyE()e or E API-Since: 14.0static @NotNull java.lang.StringGCKeyEight()8 or * API-Since: 14.0static @NotNull java.lang.StringGCKeyEnd()End API-Since: 14.0static @NotNull java.lang.StringGCKeyEqualSign()= or + API-Since: 14.0static @NotNull java.lang.StringGCKeyEscape()Escape API-Since: 14.0static @NotNull java.lang.StringGCKeyF()f or F API-Since: 14.0static @NotNull java.lang.StringGCKeyF1()F1 API-Since: 14.0static @NotNull java.lang.StringGCKeyF10()F10 API-Since: 14.0static @NotNull java.lang.StringGCKeyF11()F11 API-Since: 14.0static @NotNull java.lang.StringGCKeyF12()F12 API-Since: 14.0static @NotNull java.lang.StringGCKeyF13()F13 API-Since: 15.0static @NotNull java.lang.StringGCKeyF14()F14 API-Since: 15.0static @NotNull java.lang.StringGCKeyF15()F15 API-Since: 15.0static @NotNull java.lang.StringGCKeyF16()F16 API-Since: 15.0static @NotNull java.lang.StringGCKeyF17()F17 API-Since: 15.0static @NotNull java.lang.StringGCKeyF18()F18 API-Since: 15.0static @NotNull java.lang.StringGCKeyF19()F19 API-Since: 15.0static @NotNull java.lang.StringGCKeyF2()F2 API-Since: 14.0static @NotNull java.lang.StringGCKeyF20()F20 API-Since: 15.0static @NotNull java.lang.StringGCKeyF3()F3 API-Since: 14.0static @NotNull java.lang.StringGCKeyF4()F4 API-Since: 14.0static @NotNull java.lang.StringGCKeyF5()F5 API-Since: 14.0static @NotNull java.lang.StringGCKeyF6()F6 API-Since: 14.0static @NotNull java.lang.StringGCKeyF7()F7 API-Since: 14.0static @NotNull java.lang.StringGCKeyF8()F8 API-Since: 14.0static @NotNull java.lang.StringGCKeyF9()F9 API-Since: 14.0static @NotNull java.lang.StringGCKeyFive()5 or % API-Since: 14.0static @NotNull java.lang.StringGCKeyFour()4 or $ API-Since: 14.0static @NotNull java.lang.StringGCKeyG()g or G API-Since: 14.0static @NotNull java.lang.StringGCKeyGraveAccentAndTilde()Grave Accent and Tilde API-Since: 14.0static @NotNull java.lang.StringGCKeyH()h or H API-Since: 14.0static @NotNull java.lang.StringGCKeyHome()Home API-Since: 14.0static @NotNull java.lang.StringGCKeyHyphen()- or _ API-Since: 14.0static @NotNull java.lang.StringGCKeyI()i or I API-Since: 14.0static @NotNull java.lang.StringGCKeyInsert()Insert API-Since: 14.0static @NotNull java.lang.StringGCKeyInternational1()International1 API-Since: 14.0static @NotNull java.lang.StringGCKeyInternational2()International2 API-Since: 14.0static @NotNull java.lang.StringGCKeyInternational3()International3 API-Since: 14.0static @NotNull java.lang.StringGCKeyInternational4()International4 API-Since: 14.0static @NotNull java.lang.StringGCKeyInternational5()International5 API-Since: 14.0static @NotNull java.lang.StringGCKeyInternational6()International6 API-Since: 14.0static @NotNull java.lang.StringGCKeyInternational7()International7 API-Since: 14.0static @NotNull java.lang.StringGCKeyInternational8()International8 API-Since: 14.0static @NotNull java.lang.StringGCKeyInternational9()International9 API-Since: 14.0static @NotNull java.lang.StringGCKeyJ()j or J API-Since: 14.0static @NotNull java.lang.StringGCKeyK()k or K API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypad0()Keypad 0 or Insert API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypad1()Keypad 1 or End API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypad2()Keypad 2 or Down Arrow API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypad3()Keypad 3 or Page Down API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypad4()Keypad 4 or Left Arrow API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypad5()Keypad 5 API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypad6()Keypad 6 or Right Arrow API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypad7()Keypad 7 or Home API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypad8()Keypad 8 or Up Arrow API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypad9()Keypad 9 or Page Up API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypadAsterisk()Keypad * API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypadEnter()Keypad Enter API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypadEqualSign()Keypad = API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypadHyphen()Keypad - API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypadNumLock()Keypad NumLock or Clear API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypadPeriod()Keypad .static @NotNull java.lang.StringGCKeyKeypadPlus()Keypad + API-Since: 14.0static @NotNull java.lang.StringGCKeyKeypadSlash()Keypad / API-Since: 14.0static @NotNull java.lang.StringGCKeyL()l or L API-Since: 14.0static @NotNull java.lang.StringGCKeyLANG1()LANG1 API-Since: 14.0static @NotNull java.lang.StringGCKeyLANG2()LANG2 API-Since: 14.0static @NotNull java.lang.StringGCKeyLANG3()LANG3 API-Since: 14.0static @NotNull java.lang.StringGCKeyLANG4()LANG4 API-Since: 14.0static @NotNull java.lang.StringGCKeyLANG5()LANG5 API-Since: 14.0static @NotNull java.lang.StringGCKeyLANG6()LANG6 API-Since: 14.0static @NotNull java.lang.StringGCKeyLANG7()LANG7 API-Since: 14.0static @NotNull java.lang.StringGCKeyLANG8()LANG8 API-Since: 14.0static @NotNull java.lang.StringGCKeyLANG9()LANG9 API-Since: 14.0static @NotNull java.lang.StringGCKeyLeftAlt()Left Alt API-Since: 14.0static @NotNull java.lang.StringGCKeyLeftArrow()Left Arrow API-Since: 14.0static @NotNull java.lang.StringGCKeyLeftControl()Left Control API-Since: 14.0static @NotNull java.lang.StringGCKeyLeftGUI()Left GUI API-Since: 14.0static @NotNull java.lang.StringGCKeyLeftShift()Left Shift API-Since: 14.0static @NotNull java.lang.StringGCKeyM()m or M API-Since: 14.0static @NotNull java.lang.StringGCKeyN()n or N API-Since: 14.0static @NotNull java.lang.StringGCKeyNine()9 or ( API-Since: 14.0static @NotNull java.lang.StringGCKeyNonUSBackslash()Non-US \ or | API-Since: 14.0static @NotNull java.lang.StringGCKeyNonUSPound()Non-US # or _ API-Since: 14.0static @NotNull java.lang.StringGCKeyO()o or O API-Since: 14.0static @NotNull java.lang.StringGCKeyOne()1 or ! API-Since: 14.0static @NotNull java.lang.StringGCKeyOpenBracket()[ or { API-Since: 14.0static @NotNull java.lang.StringGCKeyP()p or P API-Since: 14.0static @NotNull java.lang.StringGCKeyPageDown()Page Down API-Since: 14.0static @NotNull java.lang.StringGCKeyPageUp()Page Up API-Since: 14.0static @NotNull java.lang.StringGCKeyPause()Pause API-Since: 14.0static @NotNull java.lang.StringGCKeyPeriod().static @NotNull java.lang.StringGCKeyPower()Power API-Since: 14.0static @NotNull java.lang.StringGCKeyPrintScreen()Print Screen API-Since: 14.0static @NotNull java.lang.StringGCKeyQ()q or Q API-Since: 14.0static @NotNull java.lang.StringGCKeyQuote()' or " API-Since: 14.0static @NotNull java.lang.StringGCKeyR()r or R API-Since: 14.0static @NotNull java.lang.StringGCKeyReturnOrEnter()Return (Enter) API-Since: 14.0static @NotNull java.lang.StringGCKeyRightAlt()Right Alt API-Since: 14.0static @NotNull java.lang.StringGCKeyRightArrow()Right Arrow API-Since: 14.0static @NotNull java.lang.StringGCKeyRightControl()Right Control API-Since: 14.0static @NotNull java.lang.StringGCKeyRightGUI()Right GUI API-Since: 14.0static @NotNull java.lang.StringGCKeyRightShift()Right Shift API-Since: 14.0static @NotNull java.lang.StringGCKeyS()s or S API-Since: 14.0static @NotNull java.lang.StringGCKeyScrollLock()Scroll Lock API-Since: 14.0static @NotNull java.lang.StringGCKeySemicolon(); or : API-Since: 14.0static @NotNull java.lang.StringGCKeySeven()7 or & API-Since: 14.0static @NotNull java.lang.StringGCKeySix()6 or ^ API-Since: 14.0static @NotNull java.lang.StringGCKeySlash()/ or ? API-Since: 14.0static @NotNull java.lang.StringGCKeySpacebar()Spacebar API-Since: 14.0static @NotNull java.lang.StringGCKeyT()t or T API-Since: 14.0static @NotNull java.lang.StringGCKeyTab()Tab API-Since: 14.0static @NotNull java.lang.StringGCKeyThree()3 or # API-Since: 14.0static @NotNull java.lang.StringGCKeyTwo()2 or @ API-Since: 14.0static @NotNull java.lang.StringGCKeyU()u or U API-Since: 14.0static @NotNull java.lang.StringGCKeyUpArrow()Up Arrow API-Since: 14.0static @NotNull java.lang.StringGCKeyV()v or V API-Since: 14.0static @NotNull java.lang.StringGCKeyW()w or W API-Since: 14.0static @NotNull java.lang.StringGCKeyX()x or X API-Since: 14.0static @NotNull java.lang.StringGCKeyY()y or Y API-Since: 14.0static @NotNull java.lang.StringGCKeyZ()z or Z API-Since: 14.0static @NotNull java.lang.StringGCKeyZero()0 or ) API-Since: 14.0static booleanGCMicroGamepadSnapshotDataFromNSData(@Nullable GCMicroGamepadSnapshotData snapshotData, @Nullable NSData data)Deprecated.static booleanGCMicroGamepadSnapShotDataV100FromNSData(@Nullable GCMicroGamepadSnapShotDataV100 snapshotData, @Nullable NSData data)Deprecated.static @NotNull java.lang.StringGCMouseDidBecomeCurrentNotification()Use these constants with NSNotificationCenter to listen to a controller becoming the most recently used mouse.static @NotNull java.lang.StringGCMouseDidConnectNotification()Use these constants with NSNotificationCenter to listen to connection and disconnection events.static @NotNull java.lang.StringGCMouseDidDisconnectNotification()API-Since: 14.0static @NotNull java.lang.StringGCMouseDidStopBeingCurrentNotification()API-Since: 14.0static java.lang.StringGCProductCategoryArcadeStick()API-Since: 17.0static java.lang.StringGCProductCategoryCoalescedRemote()If multiple remotes have been combined into one, the device will have the GCProductCategoryCoalescedRemote product category.static java.lang.StringGCProductCategoryControlCenterRemote()Users can use Apple TV Remote controls in Control Center on an iOS or iPadOS device.static java.lang.StringGCProductCategoryDualSense()Game Controller Product Categories API-Since: 15.0static java.lang.StringGCProductCategoryDualShock4()API-Since: 15.0static java.lang.StringGCProductCategoryHID()API-Since: 16.0static java.lang.StringGCProductCategoryKeyboard()API-Since: 15.0static java.lang.StringGCProductCategoryMFi()API-Since: 15.0static java.lang.StringGCProductCategoryMouse()Keyboards and Mice Product Categories API-Since: 15.0static java.lang.StringGCProductCategorySiriRemote1stGen()The Siri Remote (1st generation), or Apple TV Remote (1st generation), was first introduced in 2015.static java.lang.StringGCProductCategorySiriRemote2ndGen()The Siri Remote (2nd generation), or Apple TV Remote (2nd generation), was first introduced in 2021.static java.lang.StringGCProductCategoryUniversalElectronicsRemote()The Universal Electronics remote is an infrared and Bluetooth Low Energy remote designed to work with the Apple TV.static java.lang.StringGCProductCategoryXboxOne()API-Since: 15.0static @Nullable NSDataNSDataFromGCExtendedGamepadSnapshotData(@Nullable GCExtendedGamepadSnapshotData snapshotData)Deprecated.static @Nullable NSDataNSDataFromGCExtendedGamepadSnapShotDataV100(@Nullable GCExtendedGamepadSnapShotDataV100 snapshotData)Deprecated.static @Nullable NSDataNSDataFromGCGamepadSnapShotDataV100(@Nullable GCGamepadSnapShotDataV100 snapshotData)Deprecated.static @Nullable NSDataNSDataFromGCMicroGamepadSnapshotData(@Nullable GCMicroGamepadSnapshotData snapshotData)Deprecated.static @Nullable NSDataNSDataFromGCMicroGamepadSnapShotDataV100(@Nullable GCMicroGamepadSnapShotDataV100 snapshotData)Deprecated.
-
-
-
Method Detail
-
GCGamepadSnapShotDataV100FromNSData
@Deprecated public static boolean GCGamepadSnapShotDataV100FromNSData(@Nullable @Nullable GCGamepadSnapShotDataV100 snapshotData, @Nullable @Nullable NSData data)Deprecated.Fills out a v100 snapshot from any compatible NSData source- Returns:
- NO if data is nil, snapshotData is nil or the contents of data does not contain a compatible snapshot. YES for all other cases. API-Since: 7.0 Deprecated-Since: 13.0 Deprecated-Message: GCGamepad has been deprecated, use GCExtendedGamepad instead
-
NSDataFromGCGamepadSnapShotDataV100
@Nullable @Deprecated public static @Nullable NSData NSDataFromGCGamepadSnapShotDataV100(@Nullable @Nullable GCGamepadSnapShotDataV100 snapshotData)
Deprecated.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.- Returns:
- nil if the snapshot is NULL, otherwise an NSData instance compatible with GCGamepadSnapshot.snapshotData API-Since: 7.0 Deprecated-Since: 13.0 Deprecated-Message: GCGamepad has been deprecated, use GCExtendedGamepad instead
-
GCExtendedGamepadSnapShotDataV100FromNSData
@Deprecated public static boolean GCExtendedGamepadSnapShotDataV100FromNSData(@Nullable @Nullable GCExtendedGamepadSnapShotDataV100 snapshotData, @Nullable @Nullable NSData data)Deprecated.Fills out a v100 snapshot from any compatible NSData source- Returns:
- NO if data is nil, snapshotData is nil or the contents of data does not contain a compatible snapshot. YES for all other cases. API-Since: 9.0 Deprecated-Since: 13.0 Deprecated-Message: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
-
NSDataFromGCExtendedGamepadSnapShotDataV100
@Nullable @Deprecated public static @Nullable NSData NSDataFromGCExtendedGamepadSnapShotDataV100(@Nullable @Nullable GCExtendedGamepadSnapShotDataV100 snapshotData)
Deprecated.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.- Returns:
- nil if the snapshot is NULL, otherwise an NSData instance compatible with GCExtendedGamepadSnapshot.snapshotData API-Since: 9.0 Deprecated-Since: 13.0 Deprecated-Message: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
-
GCMicroGamepadSnapShotDataV100FromNSData
@Deprecated public static boolean GCMicroGamepadSnapShotDataV100FromNSData(@Nullable @Nullable GCMicroGamepadSnapShotDataV100 snapshotData, @Nullable @Nullable NSData data)Deprecated.Fills out a v100 snapshot from any compatible NSData source- Returns:
- NO if data is nil, snapshotData is nil or the contents of data does not contain a compatible snapshot. YES for all other cases. API-Since: 9.0 Deprecated-Since: 13.0 Deprecated-Message: GCMicroGamepadSnapshot has been deprecated, use [GCController controllerWithMicroGamepad] instead
-
NSDataFromGCMicroGamepadSnapShotDataV100
@Nullable @Deprecated public static @Nullable NSData NSDataFromGCMicroGamepadSnapShotDataV100(@Nullable @Nullable GCMicroGamepadSnapShotDataV100 snapshotData)
Deprecated.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.- Returns:
- nil if the snapshot is NULL, otherwise an NSData instance compatible with GCGamepadSnapshot.snapshotData API-Since: 9.0 Deprecated-Since: 13.0 Deprecated-Message: GCMicroGamepadSnapshot has been deprecated, use [GCController controllerWithMicroGamepad] instead
-
GCControllerDidConnectNotification
@NotNull public static @NotNull java.lang.String GCControllerDidConnectNotification()
Use these constants with NSNotificationCenter to listen to connection and disconnection events. Use GCControllerDidConnectNotification for observing connections of controllers. Use GCControllerDidDisconnectNotification for observing disconnections of controllers. Connections and disconnections of controllers will also be reflected in the controllers array of the GCController class. The 'object' property of the notification will contain the GCController that was connected or disconnected. For example: - (void)controllerDidConnect:(NSNotification *)note { GCController *controller = note.object; .... }- See Also:
NSNotificationCenter,API-Since: 7.0
-
GCControllerDidDisconnectNotification
@NotNull public static @NotNull java.lang.String GCControllerDidDisconnectNotification()
API-Since: 7.0
-
GCExtendedGamepadSnapshotDataFromNSData
@Deprecated public static boolean GCExtendedGamepadSnapshotDataFromNSData(@Nullable @Nullable GCExtendedGamepadSnapshotData snapshotData, @Nullable @Nullable NSData data)Deprecated.Fills out a snapshot from any compatible NSData source- Returns:
- NO if data is nil, snapshotData is nil or the contents of data does not contain a compatible snapshot. YES for all other cases. API-Since: 9.0 Deprecated-Since: 13.0 Deprecated-Message: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
-
NSDataFromGCExtendedGamepadSnapshotData
@Nullable @Deprecated public static @Nullable NSData NSDataFromGCExtendedGamepadSnapshotData(@Nullable @Nullable GCExtendedGamepadSnapshotData snapshotData)
Deprecated.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.- Returns:
- nil if the snapshot is NULL, otherwise an NSData instance compatible with GCExtendedGamepadSnapshot.snapshotData API-Since: 9.0 Deprecated-Since: 13.0 Deprecated-Message: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
-
GCMicroGamepadSnapshotDataFromNSData
@Deprecated public static boolean GCMicroGamepadSnapshotDataFromNSData(@Nullable @Nullable GCMicroGamepadSnapshotData snapshotData, @Nullable @Nullable NSData data)Deprecated.Fills out a snapshot from any compatible NSData source- Returns:
- NO if data is nil, snapshotData is nil or the contents of data does not contain a compatible snapshot. YES for all other cases. API-Since: 9.0 Deprecated-Since: 13.0 Deprecated-Message: GCMicroGamepadSnapshot has been deprecated, use [GCController controllerWithMicroGamepad] instead
-
NSDataFromGCMicroGamepadSnapshotData
@Nullable @Deprecated public static @Nullable NSData NSDataFromGCMicroGamepadSnapshotData(@Nullable @Nullable GCMicroGamepadSnapshotData snapshotData)
Deprecated.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.- Returns:
- nil if the snapshot is NULL, otherwise an NSData instance compatible with GCGamepadSnapshot.snapshotData API-Since: 9.0 Deprecated-Since: 13.0 Deprecated-Message: GCMicroGamepadSnapshot has been deprecated, use [GCController controllerWithMicroGamepad] instead
-
GCCurrentExtendedGamepadSnapshotDataVersion
@Deprecated public static long GCCurrentExtendedGamepadSnapshotDataVersion()
Deprecated.API-Since: 9.0 Deprecated-Since: 13.0 Deprecated-Message: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
-
GCCurrentMicroGamepadSnapshotDataVersion
@Deprecated public static long GCCurrentMicroGamepadSnapshotDataVersion()
Deprecated.API-Since: 9.0 Deprecated-Since: 13.0 Deprecated-Message: GCMicroGamepadSnapshot has been deprecated, use [GCController controllerWithMicroGamepad] instead
-
GCInputButtonA
public static java.lang.String GCInputButtonA()
A set of commonly used strings that can be used to access controller buttons [@example] controller.physicalInputProfile.buttons[GCInputButtonA]- See Also:
GCController.h,API-Since: 14.0
-
GCInputButtonB
public static java.lang.String GCInputButtonB()
API-Since: 14.0
-
GCInputButtonX
public static java.lang.String GCInputButtonX()
API-Since: 14.0
-
GCInputButtonY
public static java.lang.String GCInputButtonY()
API-Since: 14.0
-
GCInputDirectionPad
public static java.lang.String GCInputDirectionPad()
API-Since: 14.0
-
GCInputLeftThumbstick
public static java.lang.String GCInputLeftThumbstick()
API-Since: 14.0
-
GCInputRightThumbstick
public static java.lang.String GCInputRightThumbstick()
API-Since: 14.0
-
GCInputLeftShoulder
public static java.lang.String GCInputLeftShoulder()
API-Since: 14.0
-
GCInputRightShoulder
public static java.lang.String GCInputRightShoulder()
API-Since: 14.0
-
GCInputLeftTrigger
public static java.lang.String GCInputLeftTrigger()
API-Since: 14.0
-
GCInputRightTrigger
public static java.lang.String GCInputRightTrigger()
API-Since: 14.0
-
GCInputLeftThumbstickButton
public static java.lang.String GCInputLeftThumbstickButton()
API-Since: 14.0
-
GCInputRightThumbstickButton
public static java.lang.String GCInputRightThumbstickButton()
API-Since: 14.0
-
GCInputButtonHome
public static java.lang.String GCInputButtonHome()
API-Since: 14.0
-
GCInputButtonMenu
public static java.lang.String GCInputButtonMenu()
API-Since: 14.0
-
GCInputButtonOptions
public static java.lang.String GCInputButtonOptions()
API-Since: 14.0
-
GCInputXboxPaddleOne
public static java.lang.String GCInputXboxPaddleOne()
A set of strings commonly used to access Xbox buttons [@example] controller.physicalInputProfile.buttons[GCInputButtonPaddleOne]- See Also:
GCController.h,API-Since: 14.0
-
GCInputXboxPaddleTwo
public static java.lang.String GCInputXboxPaddleTwo()
API-Since: 14.0
-
GCInputXboxPaddleThree
public static java.lang.String GCInputXboxPaddleThree()
API-Since: 14.0
-
GCInputXboxPaddleFour
public static java.lang.String GCInputXboxPaddleFour()
API-Since: 14.0
-
GCInputDualShockTouchpadOne
public static java.lang.String GCInputDualShockTouchpadOne()
A set of strings commonly used to access DualShock buttons [@example] controller.physicalInputProfile.dpads[GCInputDualShockTouchpadOne]- See Also:
GCController.h,API-Since: 14.0
-
GCInputDualShockTouchpadTwo
public static java.lang.String GCInputDualShockTouchpadTwo()
API-Since: 14.0
-
GCInputDualShockTouchpadButton
public static java.lang.String GCInputDualShockTouchpadButton()
API-Since: 14.0
-
GCKeyCodeKeyA
public static long GCKeyCodeKeyA()
a or A API-Since: 14.0
-
GCKeyCodeKeyB
public static long GCKeyCodeKeyB()
b or B API-Since: 14.0
-
GCKeyCodeKeyC
public static long GCKeyCodeKeyC()
c or C API-Since: 14.0
-
GCKeyCodeKeyD
public static long GCKeyCodeKeyD()
d or D API-Since: 14.0
-
GCKeyCodeKeyE
public static long GCKeyCodeKeyE()
e or E API-Since: 14.0
-
GCKeyCodeKeyF
public static long GCKeyCodeKeyF()
f or F API-Since: 14.0
-
GCKeyCodeKeyG
public static long GCKeyCodeKeyG()
g or G API-Since: 14.0
-
GCKeyCodeKeyH
public static long GCKeyCodeKeyH()
h or H API-Since: 14.0
-
GCKeyCodeKeyI
public static long GCKeyCodeKeyI()
i or I API-Since: 14.0
-
GCKeyCodeKeyJ
public static long GCKeyCodeKeyJ()
j or J API-Since: 14.0
-
GCKeyCodeKeyK
public static long GCKeyCodeKeyK()
k or K API-Since: 14.0
-
GCKeyCodeKeyL
public static long GCKeyCodeKeyL()
l or L API-Since: 14.0
-
GCKeyCodeKeyM
public static long GCKeyCodeKeyM()
m or M API-Since: 14.0
-
GCKeyCodeKeyN
public static long GCKeyCodeKeyN()
n or N API-Since: 14.0
-
GCKeyCodeKeyO
public static long GCKeyCodeKeyO()
o or O API-Since: 14.0
-
GCKeyCodeKeyP
public static long GCKeyCodeKeyP()
p or P API-Since: 14.0
-
GCKeyCodeKeyQ
public static long GCKeyCodeKeyQ()
q or Q API-Since: 14.0
-
GCKeyCodeKeyR
public static long GCKeyCodeKeyR()
r or R API-Since: 14.0
-
GCKeyCodeKeyS
public static long GCKeyCodeKeyS()
s or S API-Since: 14.0
-
GCKeyCodeKeyT
public static long GCKeyCodeKeyT()
t or T API-Since: 14.0
-
GCKeyCodeKeyU
public static long GCKeyCodeKeyU()
u or U API-Since: 14.0
-
GCKeyCodeKeyV
public static long GCKeyCodeKeyV()
v or V API-Since: 14.0
-
GCKeyCodeKeyW
public static long GCKeyCodeKeyW()
w or W API-Since: 14.0
-
GCKeyCodeKeyX
public static long GCKeyCodeKeyX()
x or X API-Since: 14.0
-
GCKeyCodeKeyY
public static long GCKeyCodeKeyY()
y or Y API-Since: 14.0
-
GCKeyCodeKeyZ
public static long GCKeyCodeKeyZ()
z or Z API-Since: 14.0
-
GCKeyCodeOne
public static long GCKeyCodeOne()
1 or ! API-Since: 14.0
-
GCKeyCodeTwo
public static long GCKeyCodeTwo()
2 or @ API-Since: 14.0
-
GCKeyCodeThree
public static long GCKeyCodeThree()
3 or # API-Since: 14.0
-
GCKeyCodeFour
public static long GCKeyCodeFour()
4 or $ API-Since: 14.0
-
GCKeyCodeFive
public static long GCKeyCodeFive()
5 or % API-Since: 14.0
-
GCKeyCodeSix
public static long GCKeyCodeSix()
6 or ^ API-Since: 14.0
-
GCKeyCodeSeven
public static long GCKeyCodeSeven()
7 or & API-Since: 14.0
-
GCKeyCodeEight
public static long GCKeyCodeEight()
8 or * API-Since: 14.0
-
GCKeyCodeNine
public static long GCKeyCodeNine()
9 or ( API-Since: 14.0
-
GCKeyCodeZero
public static long GCKeyCodeZero()
0 or ) API-Since: 14.0
-
GCKeyCodeReturnOrEnter
public static long GCKeyCodeReturnOrEnter()
Return (Enter) API-Since: 14.0
-
GCKeyCodeEscape
public static long GCKeyCodeEscape()
Escape API-Since: 14.0
-
GCKeyCodeDeleteOrBackspace
public static long GCKeyCodeDeleteOrBackspace()
Delete (Backspace) API-Since: 14.0
-
GCKeyCodeTab
public static long GCKeyCodeTab()
Tab API-Since: 14.0
-
GCKeyCodeSpacebar
public static long GCKeyCodeSpacebar()
Spacebar API-Since: 14.0
-
GCKeyCodeHyphen
public static long GCKeyCodeHyphen()
- or _ API-Since: 14.0
-
GCKeyCodeEqualSign
public static long GCKeyCodeEqualSign()
= or + API-Since: 14.0
-
GCKeyCodeOpenBracket
public static long GCKeyCodeOpenBracket()
[ or { API-Since: 14.0
-
GCKeyCodeCloseBracket
public static long GCKeyCodeCloseBracket()
] or } API-Since: 14.0
-
GCKeyCodeBackslash
public static long GCKeyCodeBackslash()
\ or | API-Since: 14.0
-
GCKeyCodeNonUSPound
public static long GCKeyCodeNonUSPound()
Non-US # or _ API-Since: 14.0
-
GCKeyCodeSemicolon
public static long GCKeyCodeSemicolon()
; or : API-Since: 14.0
-
GCKeyCodeQuote
public static long GCKeyCodeQuote()
' or " API-Since: 14.0
-
GCKeyCodeGraveAccentAndTilde
public static long GCKeyCodeGraveAccentAndTilde()
Grave Accent and Tilde API-Since: 14.0
-
GCKeyCodeComma
public static long GCKeyCodeComma()
, or < API-Since: 14.0
-
GCKeyCodePeriod
public static long GCKeyCodePeriod()
. or > API-Since: 14.0
-
GCKeyCodeSlash
public static long GCKeyCodeSlash()
/ or ? API-Since: 14.0
-
GCKeyCodeCapsLock
public static long GCKeyCodeCapsLock()
Caps Lock API-Since: 14.0
-
GCKeyCodeF1
public static long GCKeyCodeF1()
F1 API-Since: 14.0
-
GCKeyCodeF2
public static long GCKeyCodeF2()
F2 API-Since: 14.0
-
GCKeyCodeF3
public static long GCKeyCodeF3()
F3 API-Since: 14.0
-
GCKeyCodeF4
public static long GCKeyCodeF4()
F4 API-Since: 14.0
-
GCKeyCodeF5
public static long GCKeyCodeF5()
F5 API-Since: 14.0
-
GCKeyCodeF6
public static long GCKeyCodeF6()
F6 API-Since: 14.0
-
GCKeyCodeF7
public static long GCKeyCodeF7()
F7 API-Since: 14.0
-
GCKeyCodeF8
public static long GCKeyCodeF8()
F8 API-Since: 14.0
-
GCKeyCodeF9
public static long GCKeyCodeF9()
F9 API-Since: 14.0
-
GCKeyCodeF10
public static long GCKeyCodeF10()
F10 API-Since: 14.0
-
GCKeyCodeF11
public static long GCKeyCodeF11()
F11 API-Since: 14.0
-
GCKeyCodeF12
public static long GCKeyCodeF12()
F12 API-Since: 14.0
-
GCKeyCodePrintScreen
public static long GCKeyCodePrintScreen()
Print Screen API-Since: 14.0
-
GCKeyCodeScrollLock
public static long GCKeyCodeScrollLock()
Scroll Lock API-Since: 14.0
-
GCKeyCodePause
public static long GCKeyCodePause()
Pause API-Since: 14.0
-
GCKeyCodeInsert
public static long GCKeyCodeInsert()
Insert API-Since: 14.0
-
GCKeyCodeHome
public static long GCKeyCodeHome()
Home API-Since: 14.0
-
GCKeyCodePageUp
public static long GCKeyCodePageUp()
Page Up API-Since: 14.0
-
GCKeyCodeDeleteForward
public static long GCKeyCodeDeleteForward()
Delete Forward API-Since: 14.0
-
GCKeyCodeEnd
public static long GCKeyCodeEnd()
End API-Since: 14.0
-
GCKeyCodePageDown
public static long GCKeyCodePageDown()
Page Down API-Since: 14.0
-
GCKeyCodeRightArrow
public static long GCKeyCodeRightArrow()
Right Arrow API-Since: 14.0
-
GCKeyCodeLeftArrow
public static long GCKeyCodeLeftArrow()
Left Arrow API-Since: 14.0
-
GCKeyCodeDownArrow
public static long GCKeyCodeDownArrow()
Down Arrow API-Since: 14.0
-
GCKeyCodeUpArrow
public static long GCKeyCodeUpArrow()
Up Arrow API-Since: 14.0
-
GCKeyCodeKeypadNumLock
public static long GCKeyCodeKeypadNumLock()
Keypad NumLock or Clear API-Since: 14.0
-
GCKeyCodeKeypadSlash
public static long GCKeyCodeKeypadSlash()
Keypad / API-Since: 14.0
-
GCKeyCodeKeypadAsterisk
public static long GCKeyCodeKeypadAsterisk()
Keypad * API-Since: 14.0
-
GCKeyCodeKeypadHyphen
public static long GCKeyCodeKeypadHyphen()
Keypad - API-Since: 14.0
-
GCKeyCodeKeypadPlus
public static long GCKeyCodeKeypadPlus()
Keypad + API-Since: 14.0
-
GCKeyCodeKeypadEnter
public static long GCKeyCodeKeypadEnter()
Keypad Enter API-Since: 14.0
-
GCKeyCodeKeypad1
public static long GCKeyCodeKeypad1()
Keypad 1 or End API-Since: 14.0
-
GCKeyCodeKeypad2
public static long GCKeyCodeKeypad2()
Keypad 2 or Down Arrow API-Since: 14.0
-
GCKeyCodeKeypad3
public static long GCKeyCodeKeypad3()
Keypad 3 or Page Down API-Since: 14.0
-
GCKeyCodeKeypad4
public static long GCKeyCodeKeypad4()
Keypad 4 or Left Arrow API-Since: 14.0
-
GCKeyCodeKeypad5
public static long GCKeyCodeKeypad5()
Keypad 5 API-Since: 14.0
-
GCKeyCodeKeypad6
public static long GCKeyCodeKeypad6()
Keypad 6 or Right Arrow API-Since: 14.0
-
GCKeyCodeKeypad7
public static long GCKeyCodeKeypad7()
Keypad 7 or Home API-Since: 14.0
-
GCKeyCodeKeypad8
public static long GCKeyCodeKeypad8()
Keypad 8 or Up Arrow API-Since: 14.0
-
GCKeyCodeKeypad9
public static long GCKeyCodeKeypad9()
Keypad 9 or Page Up API-Since: 14.0
-
GCKeyCodeKeypad0
public static long GCKeyCodeKeypad0()
Keypad 0 or Insert API-Since: 14.0
-
GCKeyCodeKeypadPeriod
public static long GCKeyCodeKeypadPeriod()
Keypad . or Delete API-Since: 14.0
-
GCKeyCodeKeypadEqualSign
public static long GCKeyCodeKeypadEqualSign()
Keypad = API-Since: 14.0
-
GCKeyCodeNonUSBackslash
public static long GCKeyCodeNonUSBackslash()
Non-US \ or | API-Since: 14.0
-
GCKeyCodeApplication
public static long GCKeyCodeApplication()
Application API-Since: 14.0
-
GCKeyCodePower
public static long GCKeyCodePower()
Power API-Since: 14.0
-
GCKeyCodeInternational1
public static long GCKeyCodeInternational1()
International1 API-Since: 14.0
-
GCKeyCodeInternational2
public static long GCKeyCodeInternational2()
International2 API-Since: 14.0
-
GCKeyCodeInternational3
public static long GCKeyCodeInternational3()
International3 API-Since: 14.0
-
GCKeyCodeInternational4
public static long GCKeyCodeInternational4()
International4 API-Since: 14.0
-
GCKeyCodeInternational5
public static long GCKeyCodeInternational5()
International5 API-Since: 14.0
-
GCKeyCodeInternational6
public static long GCKeyCodeInternational6()
International6 API-Since: 14.0
-
GCKeyCodeInternational7
public static long GCKeyCodeInternational7()
International7 API-Since: 14.0
-
GCKeyCodeInternational8
public static long GCKeyCodeInternational8()
International8 API-Since: 14.0
-
GCKeyCodeInternational9
public static long GCKeyCodeInternational9()
International9 API-Since: 14.0
-
GCKeyCodeLANG1
public static long GCKeyCodeLANG1()
LANG1 API-Since: 14.0
-
GCKeyCodeLANG2
public static long GCKeyCodeLANG2()
LANG2 API-Since: 14.0
-
GCKeyCodeLANG3
public static long GCKeyCodeLANG3()
LANG3 API-Since: 14.0
-
GCKeyCodeLANG4
public static long GCKeyCodeLANG4()
LANG4 API-Since: 14.0
-
GCKeyCodeLANG5
public static long GCKeyCodeLANG5()
LANG5 API-Since: 14.0
-
GCKeyCodeLANG6
public static long GCKeyCodeLANG6()
LANG6 API-Since: 14.0
-
GCKeyCodeLANG7
public static long GCKeyCodeLANG7()
LANG7 API-Since: 14.0
-
GCKeyCodeLANG8
public static long GCKeyCodeLANG8()
LANG8 API-Since: 14.0
-
GCKeyCodeLANG9
public static long GCKeyCodeLANG9()
LANG9 API-Since: 14.0
-
GCKeyCodeLeftControl
public static long GCKeyCodeLeftControl()
Left Control API-Since: 14.0
-
GCKeyCodeLeftShift
public static long GCKeyCodeLeftShift()
Left Shift API-Since: 14.0
-
GCKeyCodeLeftAlt
public static long GCKeyCodeLeftAlt()
Left Alt API-Since: 14.0
-
GCKeyCodeLeftGUI
public static long GCKeyCodeLeftGUI()
Left GUI API-Since: 14.0
-
GCKeyCodeRightControl
public static long GCKeyCodeRightControl()
Right Control API-Since: 14.0
-
GCKeyCodeRightShift
public static long GCKeyCodeRightShift()
Right Shift API-Since: 14.0
-
GCKeyCodeRightAlt
public static long GCKeyCodeRightAlt()
Right Alt API-Since: 14.0
-
GCKeyCodeRightGUI
public static long GCKeyCodeRightGUI()
Right GUI API-Since: 14.0
-
GCKeyA
@NotNull public static @NotNull java.lang.String GCKeyA()
a or A API-Since: 14.0
-
GCKeyB
@NotNull public static @NotNull java.lang.String GCKeyB()
b or B API-Since: 14.0
-
GCKeyC
@NotNull public static @NotNull java.lang.String GCKeyC()
c or C API-Since: 14.0
-
GCKeyD
@NotNull public static @NotNull java.lang.String GCKeyD()
d or D API-Since: 14.0
-
GCKeyE
@NotNull public static @NotNull java.lang.String GCKeyE()
e or E API-Since: 14.0
-
GCKeyF
@NotNull public static @NotNull java.lang.String GCKeyF()
f or F API-Since: 14.0
-
GCKeyG
@NotNull public static @NotNull java.lang.String GCKeyG()
g or G API-Since: 14.0
-
GCKeyH
@NotNull public static @NotNull java.lang.String GCKeyH()
h or H API-Since: 14.0
-
GCKeyI
@NotNull public static @NotNull java.lang.String GCKeyI()
i or I API-Since: 14.0
-
GCKeyJ
@NotNull public static @NotNull java.lang.String GCKeyJ()
j or J API-Since: 14.0
-
GCKeyK
@NotNull public static @NotNull java.lang.String GCKeyK()
k or K API-Since: 14.0
-
GCKeyL
@NotNull public static @NotNull java.lang.String GCKeyL()
l or L API-Since: 14.0
-
GCKeyM
@NotNull public static @NotNull java.lang.String GCKeyM()
m or M API-Since: 14.0
-
GCKeyN
@NotNull public static @NotNull java.lang.String GCKeyN()
n or N API-Since: 14.0
-
GCKeyO
@NotNull public static @NotNull java.lang.String GCKeyO()
o or O API-Since: 14.0
-
GCKeyP
@NotNull public static @NotNull java.lang.String GCKeyP()
p or P API-Since: 14.0
-
GCKeyQ
@NotNull public static @NotNull java.lang.String GCKeyQ()
q or Q API-Since: 14.0
-
GCKeyR
@NotNull public static @NotNull java.lang.String GCKeyR()
r or R API-Since: 14.0
-
GCKeyS
@NotNull public static @NotNull java.lang.String GCKeyS()
s or S API-Since: 14.0
-
GCKeyT
@NotNull public static @NotNull java.lang.String GCKeyT()
t or T API-Since: 14.0
-
GCKeyU
@NotNull public static @NotNull java.lang.String GCKeyU()
u or U API-Since: 14.0
-
GCKeyV
@NotNull public static @NotNull java.lang.String GCKeyV()
v or V API-Since: 14.0
-
GCKeyW
@NotNull public static @NotNull java.lang.String GCKeyW()
w or W API-Since: 14.0
-
GCKeyX
@NotNull public static @NotNull java.lang.String GCKeyX()
x or X API-Since: 14.0
-
GCKeyY
@NotNull public static @NotNull java.lang.String GCKeyY()
y or Y API-Since: 14.0
-
GCKeyZ
@NotNull public static @NotNull java.lang.String GCKeyZ()
z or Z API-Since: 14.0
-
GCKeyOne
@NotNull public static @NotNull java.lang.String GCKeyOne()
1 or ! API-Since: 14.0
-
GCKeyTwo
@NotNull public static @NotNull java.lang.String GCKeyTwo()
2 or @ API-Since: 14.0
-
GCKeyThree
@NotNull public static @NotNull java.lang.String GCKeyThree()
3 or # API-Since: 14.0
-
GCKeyFour
@NotNull public static @NotNull java.lang.String GCKeyFour()
4 or $ API-Since: 14.0
-
GCKeyFive
@NotNull public static @NotNull java.lang.String GCKeyFive()
5 or % API-Since: 14.0
-
GCKeySix
@NotNull public static @NotNull java.lang.String GCKeySix()
6 or ^ API-Since: 14.0
-
GCKeySeven
@NotNull public static @NotNull java.lang.String GCKeySeven()
7 or & API-Since: 14.0
-
GCKeyEight
@NotNull public static @NotNull java.lang.String GCKeyEight()
8 or * API-Since: 14.0
-
GCKeyNine
@NotNull public static @NotNull java.lang.String GCKeyNine()
9 or ( API-Since: 14.0
-
GCKeyZero
@NotNull public static @NotNull java.lang.String GCKeyZero()
0 or ) API-Since: 14.0
-
GCKeyReturnOrEnter
@NotNull public static @NotNull java.lang.String GCKeyReturnOrEnter()
Return (Enter) API-Since: 14.0
-
GCKeyEscape
@NotNull public static @NotNull java.lang.String GCKeyEscape()
Escape API-Since: 14.0
-
GCKeyDeleteOrBackspace
@NotNull public static @NotNull java.lang.String GCKeyDeleteOrBackspace()
Delete (Backspace) API-Since: 14.0
-
GCKeyTab
@NotNull public static @NotNull java.lang.String GCKeyTab()
Tab API-Since: 14.0
-
GCKeySpacebar
@NotNull public static @NotNull java.lang.String GCKeySpacebar()
Spacebar API-Since: 14.0
-
GCKeyHyphen
@NotNull public static @NotNull java.lang.String GCKeyHyphen()
- or _ API-Since: 14.0
-
GCKeyEqualSign
@NotNull public static @NotNull java.lang.String GCKeyEqualSign()
= or + API-Since: 14.0
-
GCKeyOpenBracket
@NotNull public static @NotNull java.lang.String GCKeyOpenBracket()
[ or { API-Since: 14.0
-
GCKeyCloseBracket
@NotNull public static @NotNull java.lang.String GCKeyCloseBracket()
] or } API-Since: 14.0
-
GCKeyBackslash
@NotNull public static @NotNull java.lang.String GCKeyBackslash()
\ or | API-Since: 14.0
-
GCKeyNonUSPound
@NotNull public static @NotNull java.lang.String GCKeyNonUSPound()
Non-US # or _ API-Since: 14.0
-
GCKeySemicolon
@NotNull public static @NotNull java.lang.String GCKeySemicolon()
; or : API-Since: 14.0
-
GCKeyQuote
@NotNull public static @NotNull java.lang.String GCKeyQuote()
' or " API-Since: 14.0
-
GCKeyGraveAccentAndTilde
@NotNull public static @NotNull java.lang.String GCKeyGraveAccentAndTilde()
Grave Accent and Tilde API-Since: 14.0
-
GCKeyComma
@NotNull public static @NotNull java.lang.String GCKeyComma()
, or < API-Since: 14.0
-
GCKeyPeriod
@NotNull public static @NotNull java.lang.String GCKeyPeriod()
. or > API-Since: 14.0
-
GCKeySlash
@NotNull public static @NotNull java.lang.String GCKeySlash()
/ or ? API-Since: 14.0
-
GCKeyCapsLock
@NotNull public static @NotNull java.lang.String GCKeyCapsLock()
Caps Lock API-Since: 14.0
-
GCKeyF1
@NotNull public static @NotNull java.lang.String GCKeyF1()
F1 API-Since: 14.0
-
GCKeyF2
@NotNull public static @NotNull java.lang.String GCKeyF2()
F2 API-Since: 14.0
-
GCKeyF3
@NotNull public static @NotNull java.lang.String GCKeyF3()
F3 API-Since: 14.0
-
GCKeyF4
@NotNull public static @NotNull java.lang.String GCKeyF4()
F4 API-Since: 14.0
-
GCKeyF5
@NotNull public static @NotNull java.lang.String GCKeyF5()
F5 API-Since: 14.0
-
GCKeyF6
@NotNull public static @NotNull java.lang.String GCKeyF6()
F6 API-Since: 14.0
-
GCKeyF7
@NotNull public static @NotNull java.lang.String GCKeyF7()
F7 API-Since: 14.0
-
GCKeyF8
@NotNull public static @NotNull java.lang.String GCKeyF8()
F8 API-Since: 14.0
-
GCKeyF9
@NotNull public static @NotNull java.lang.String GCKeyF9()
F9 API-Since: 14.0
-
GCKeyF10
@NotNull public static @NotNull java.lang.String GCKeyF10()
F10 API-Since: 14.0
-
GCKeyF11
@NotNull public static @NotNull java.lang.String GCKeyF11()
F11 API-Since: 14.0
-
GCKeyF12
@NotNull public static @NotNull java.lang.String GCKeyF12()
F12 API-Since: 14.0
-
GCKeyPrintScreen
@NotNull public static @NotNull java.lang.String GCKeyPrintScreen()
Print Screen API-Since: 14.0
-
GCKeyScrollLock
@NotNull public static @NotNull java.lang.String GCKeyScrollLock()
Scroll Lock API-Since: 14.0
-
GCKeyPause
@NotNull public static @NotNull java.lang.String GCKeyPause()
Pause API-Since: 14.0
-
GCKeyInsert
@NotNull public static @NotNull java.lang.String GCKeyInsert()
Insert API-Since: 14.0
-
GCKeyHome
@NotNull public static @NotNull java.lang.String GCKeyHome()
Home API-Since: 14.0
-
GCKeyPageUp
@NotNull public static @NotNull java.lang.String GCKeyPageUp()
Page Up API-Since: 14.0
-
GCKeyDeleteForward
@NotNull public static @NotNull java.lang.String GCKeyDeleteForward()
Delete Forward API-Since: 14.0
-
GCKeyEnd
@NotNull public static @NotNull java.lang.String GCKeyEnd()
End API-Since: 14.0
-
GCKeyPageDown
@NotNull public static @NotNull java.lang.String GCKeyPageDown()
Page Down API-Since: 14.0
-
GCKeyRightArrow
@NotNull public static @NotNull java.lang.String GCKeyRightArrow()
Right Arrow API-Since: 14.0
-
GCKeyLeftArrow
@NotNull public static @NotNull java.lang.String GCKeyLeftArrow()
Left Arrow API-Since: 14.0
-
GCKeyDownArrow
@NotNull public static @NotNull java.lang.String GCKeyDownArrow()
Down Arrow API-Since: 14.0
-
GCKeyUpArrow
@NotNull public static @NotNull java.lang.String GCKeyUpArrow()
Up Arrow API-Since: 14.0
-
GCKeyKeypadNumLock
@NotNull public static @NotNull java.lang.String GCKeyKeypadNumLock()
Keypad NumLock or Clear API-Since: 14.0
-
GCKeyKeypadSlash
@NotNull public static @NotNull java.lang.String GCKeyKeypadSlash()
Keypad / API-Since: 14.0
-
GCKeyKeypadAsterisk
@NotNull public static @NotNull java.lang.String GCKeyKeypadAsterisk()
Keypad * API-Since: 14.0
-
GCKeyKeypadHyphen
@NotNull public static @NotNull java.lang.String GCKeyKeypadHyphen()
Keypad - API-Since: 14.0
-
GCKeyKeypadPlus
@NotNull public static @NotNull java.lang.String GCKeyKeypadPlus()
Keypad + API-Since: 14.0
-
GCKeyKeypadEnter
@NotNull public static @NotNull java.lang.String GCKeyKeypadEnter()
Keypad Enter API-Since: 14.0
-
GCKeyKeypad1
@NotNull public static @NotNull java.lang.String GCKeyKeypad1()
Keypad 1 or End API-Since: 14.0
-
GCKeyKeypad2
@NotNull public static @NotNull java.lang.String GCKeyKeypad2()
Keypad 2 or Down Arrow API-Since: 14.0
-
GCKeyKeypad3
@NotNull public static @NotNull java.lang.String GCKeyKeypad3()
Keypad 3 or Page Down API-Since: 14.0
-
GCKeyKeypad4
@NotNull public static @NotNull java.lang.String GCKeyKeypad4()
Keypad 4 or Left Arrow API-Since: 14.0
-
GCKeyKeypad5
@NotNull public static @NotNull java.lang.String GCKeyKeypad5()
Keypad 5 API-Since: 14.0
-
GCKeyKeypad6
@NotNull public static @NotNull java.lang.String GCKeyKeypad6()
Keypad 6 or Right Arrow API-Since: 14.0
-
GCKeyKeypad7
@NotNull public static @NotNull java.lang.String GCKeyKeypad7()
Keypad 7 or Home API-Since: 14.0
-
GCKeyKeypad8
@NotNull public static @NotNull java.lang.String GCKeyKeypad8()
Keypad 8 or Up Arrow API-Since: 14.0
-
GCKeyKeypad9
@NotNull public static @NotNull java.lang.String GCKeyKeypad9()
Keypad 9 or Page Up API-Since: 14.0
-
GCKeyKeypad0
@NotNull public static @NotNull java.lang.String GCKeyKeypad0()
Keypad 0 or Insert API-Since: 14.0
-
GCKeyKeypadPeriod
@NotNull public static @NotNull java.lang.String GCKeyKeypadPeriod()
Keypad . or Delete API-Since: 14.0
-
GCKeyKeypadEqualSign
@NotNull public static @NotNull java.lang.String GCKeyKeypadEqualSign()
Keypad = API-Since: 14.0
-
GCKeyNonUSBackslash
@NotNull public static @NotNull java.lang.String GCKeyNonUSBackslash()
Non-US \ or | API-Since: 14.0
-
GCKeyApplication
@NotNull public static @NotNull java.lang.String GCKeyApplication()
Application API-Since: 14.0
-
GCKeyPower
@NotNull public static @NotNull java.lang.String GCKeyPower()
Power API-Since: 14.0
-
GCKeyInternational1
@NotNull public static @NotNull java.lang.String GCKeyInternational1()
International1 API-Since: 14.0
-
GCKeyInternational2
@NotNull public static @NotNull java.lang.String GCKeyInternational2()
International2 API-Since: 14.0
-
GCKeyInternational3
@NotNull public static @NotNull java.lang.String GCKeyInternational3()
International3 API-Since: 14.0
-
GCKeyInternational4
@NotNull public static @NotNull java.lang.String GCKeyInternational4()
International4 API-Since: 14.0
-
GCKeyInternational5
@NotNull public static @NotNull java.lang.String GCKeyInternational5()
International5 API-Since: 14.0
-
GCKeyInternational6
@NotNull public static @NotNull java.lang.String GCKeyInternational6()
International6 API-Since: 14.0
-
GCKeyInternational7
@NotNull public static @NotNull java.lang.String GCKeyInternational7()
International7 API-Since: 14.0
-
GCKeyInternational8
@NotNull public static @NotNull java.lang.String GCKeyInternational8()
International8 API-Since: 14.0
-
GCKeyInternational9
@NotNull public static @NotNull java.lang.String GCKeyInternational9()
International9 API-Since: 14.0
-
GCKeyLANG1
@NotNull public static @NotNull java.lang.String GCKeyLANG1()
LANG1 API-Since: 14.0
-
GCKeyLANG2
@NotNull public static @NotNull java.lang.String GCKeyLANG2()
LANG2 API-Since: 14.0
-
GCKeyLANG3
@NotNull public static @NotNull java.lang.String GCKeyLANG3()
LANG3 API-Since: 14.0
-
GCKeyLANG4
@NotNull public static @NotNull java.lang.String GCKeyLANG4()
LANG4 API-Since: 14.0
-
GCKeyLANG5
@NotNull public static @NotNull java.lang.String GCKeyLANG5()
LANG5 API-Since: 14.0
-
GCKeyLANG6
@NotNull public static @NotNull java.lang.String GCKeyLANG6()
LANG6 API-Since: 14.0
-
GCKeyLANG7
@NotNull public static @NotNull java.lang.String GCKeyLANG7()
LANG7 API-Since: 14.0
-
GCKeyLANG8
@NotNull public static @NotNull java.lang.String GCKeyLANG8()
LANG8 API-Since: 14.0
-
GCKeyLANG9
@NotNull public static @NotNull java.lang.String GCKeyLANG9()
LANG9 API-Since: 14.0
-
GCKeyLeftControl
@NotNull public static @NotNull java.lang.String GCKeyLeftControl()
Left Control API-Since: 14.0
-
GCKeyLeftShift
@NotNull public static @NotNull java.lang.String GCKeyLeftShift()
Left Shift API-Since: 14.0
-
GCKeyLeftAlt
@NotNull public static @NotNull java.lang.String GCKeyLeftAlt()
Left Alt API-Since: 14.0
-
GCKeyLeftGUI
@NotNull public static @NotNull java.lang.String GCKeyLeftGUI()
Left GUI API-Since: 14.0
-
GCKeyRightControl
@NotNull public static @NotNull java.lang.String GCKeyRightControl()
Right Control API-Since: 14.0
-
GCKeyRightShift
@NotNull public static @NotNull java.lang.String GCKeyRightShift()
Right Shift API-Since: 14.0
-
GCKeyRightAlt
@NotNull public static @NotNull java.lang.String GCKeyRightAlt()
Right Alt API-Since: 14.0
-
GCKeyRightGUI
@NotNull public static @NotNull java.lang.String GCKeyRightGUI()
Right GUI API-Since: 14.0
-
GCControllerDidBecomeCurrentNotification
@NotNull public static @NotNull java.lang.String GCControllerDidBecomeCurrentNotification()
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. The 'object' property of the notification will contain the GCController that became the current controller. For example: - (void)controllerDidBecomeCurrent:(NSNotification *)note { GCController *controller = note.object; ... }- See Also:
NSNotificationCenter,API-Since: 14.0
-
GCControllerDidStopBeingCurrentNotification
@NotNull public static @NotNull java.lang.String GCControllerDidStopBeingCurrentNotification()
API-Since: 14.0
-
GCKeyboardDidConnectNotification
@NotNull public static @NotNull java.lang.String GCKeyboardDidConnectNotification()
Use these constants with NSNotificationCenter to listen to connection and disconnection events Use GCKeyboardDidConnectNotification for observing keyboard connection Use GCKeyboardDidDisconnectNotification for observing keyboard disconnection The 'object' property of the notification will contain the GCKeyboard that was connected or disconnected. [@note] All connected keyboards are coalesced into one keyboard object, so notification about connection/disconnection will only be delivered once until last keyboard disconnects. API-Since: 14.0- See Also:
NSNotificationCetner
-
GCKeyboardDidDisconnectNotification
@NotNull public static @NotNull java.lang.String GCKeyboardDidDisconnectNotification()
API-Since: 14.0
-
GCMouseDidConnectNotification
@NotNull public static @NotNull java.lang.String GCMouseDidConnectNotification()
Use these constants with NSNotificationCenter to listen to connection and disconnection events. Use GCMouseDidConnectNotification for observing connections of mice. Use GCMouserDidDisconnectNotification for observing disconnections of mice. Connections and disconnections of mice will also be reflected in the mice array of the GCMouse class. The 'object' property of the notification will contain the GCMouse that was connected or disconnected. For example: - (void)controllerDidConnect:(NSNotification *)note { GCMouse *mouse = note.object; .... }- See Also:
NSNotificationCenter,API-Since: 14.0
-
GCMouseDidDisconnectNotification
@NotNull public static @NotNull java.lang.String GCMouseDidDisconnectNotification()
API-Since: 14.0
-
GCMouseDidBecomeCurrentNotification
@NotNull public static @NotNull java.lang.String GCMouseDidBecomeCurrentNotification()
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. The 'object' property of the notification will contain the GCMouse that became the current one. For example: - (void)mouseDidBecomeCurrent:(NSNotification *)note { GCMouse *mouse = note.object; ... }- See Also:
NSNotificationCenter,GCMouse.mice,API-Since: 14.0
-
GCMouseDidStopBeingCurrentNotification
@NotNull public static @NotNull java.lang.String GCMouseDidStopBeingCurrentNotification()
API-Since: 14.0
-
GCHapticsLocalityDefault
@NotNull public static @NotNull java.lang.String GCHapticsLocalityDefault()
guaranteed to be supported API-Since: 14.0
-
GCHapticsLocalityAll
@NotNull public static @NotNull java.lang.String GCHapticsLocalityAll()
guaranteed to be supported API-Since: 14.0
-
GCHapticsLocalityHandles
@NotNull public static @NotNull java.lang.String GCHapticsLocalityHandles()
API-Since: 14.0
-
GCHapticsLocalityLeftHandle
@NotNull public static @NotNull java.lang.String GCHapticsLocalityLeftHandle()
API-Since: 14.0
-
GCHapticsLocalityRightHandle
@NotNull public static @NotNull java.lang.String GCHapticsLocalityRightHandle()
API-Since: 14.0
-
GCHapticsLocalityTriggers
@NotNull public static @NotNull java.lang.String GCHapticsLocalityTriggers()
API-Since: 14.0
-
GCHapticsLocalityLeftTrigger
@NotNull public static @NotNull java.lang.String GCHapticsLocalityLeftTrigger()
API-Since: 14.0
-
GCHapticsLocalityRightTrigger
@NotNull public static @NotNull java.lang.String GCHapticsLocalityRightTrigger()
API-Since: 14.0
-
GCHapticDurationInfinite
public static float GCHapticDurationInfinite()
API-Since: 14.0
-
GCInputButtonShare
public static java.lang.String GCInputButtonShare()
API-Since: 15.0
-
GCKeyCodeF13
public static long GCKeyCodeF13()
F13 API-Since: 15.0
-
GCKeyCodeF14
public static long GCKeyCodeF14()
F14 API-Since: 15.0
-
GCKeyCodeF15
public static long GCKeyCodeF15()
F15 API-Since: 15.0
-
GCKeyCodeF16
public static long GCKeyCodeF16()
F16 API-Since: 15.0
-
GCKeyCodeF17
public static long GCKeyCodeF17()
F17 API-Since: 15.0
-
GCKeyCodeF18
public static long GCKeyCodeF18()
F18 API-Since: 15.0
-
GCKeyCodeF19
public static long GCKeyCodeF19()
F19 API-Since: 15.0
-
GCKeyCodeF20
public static long GCKeyCodeF20()
F20 API-Since: 15.0
-
GCKeyF13
@NotNull public static @NotNull java.lang.String GCKeyF13()
F13 API-Since: 15.0
-
GCKeyF14
@NotNull public static @NotNull java.lang.String GCKeyF14()
F14 API-Since: 15.0
-
GCKeyF15
@NotNull public static @NotNull java.lang.String GCKeyF15()
F15 API-Since: 15.0
-
GCKeyF16
@NotNull public static @NotNull java.lang.String GCKeyF16()
F16 API-Since: 15.0
-
GCKeyF17
@NotNull public static @NotNull java.lang.String GCKeyF17()
F17 API-Since: 15.0
-
GCKeyF18
@NotNull public static @NotNull java.lang.String GCKeyF18()
F18 API-Since: 15.0
-
GCKeyF19
@NotNull public static @NotNull java.lang.String GCKeyF19()
F19 API-Since: 15.0
-
GCKeyF20
@NotNull public static @NotNull java.lang.String GCKeyF20()
F20 API-Since: 15.0
-
GCInputMicroGamepadDpad
@NotNull public static @NotNull java.lang.String GCInputMicroGamepadDpad()
The primary directional input surface for the directional gamepad [@note] Equivalent to microgamepad.dpad [@note] For the 1st generation and 2nd generation Siri Remotes, this represents touching anywhere on the entire touch surface. API-Since: 15.0
-
GCInputMicroGamepadButtonA
@NotNull public static @NotNull java.lang.String GCInputMicroGamepadButtonA()
The primary button for the microgamepad [@note] For the 1st generation and 2nd generation Siri Remotes, this represents pressing anywhere on the touch surface. API-Since: 15.0
-
GCInputMicroGamepadButtonX
@NotNull public static @NotNull java.lang.String GCInputMicroGamepadButtonX()
The secondary button for the microgamepad [@note] Equivalent to microgamepad.buttonX [@note] For the 1st and 2nd generation Siri Remotes, this represents pressing the play/pause button. API-Since: 15.0
-
GCInputMicroGamepadButtonMenu
@NotNull public static @NotNull java.lang.String GCInputMicroGamepadButtonMenu()
The primary menu button for the microgamepad [@note] Equivalent to microgamepad.buttonMenu [@note] For the 1st generation Siri Remote, this represents pressing the play/pause button. For the 2nd generation Siri Remote, this represents pressing the back button. [@note] You should avoid polling this button every frame. tvOS will run a gesture recognizer on events before forwarding them to your application that can reduce the window to poll button changes. Instead, register a pressedChangedHandler or a valueChangedHandler. API-Since: 15.0
-
GCInputDirectionalDpad
@NotNull public static @NotNull java.lang.String GCInputDirectionalDpad()
The primary directional input surface for the directional gamepad [@note] Equivalent to microgamepad.dpad [@note] For the 2021 2nd generation Siri Remote, this represents touching anywhere on the entire touch surface - including the inner and outer rings. API-Since: 14.5
-
GCInputDirectionalTouchSurfaceButton
@NotNull public static @NotNull java.lang.String GCInputDirectionalTouchSurfaceButton()
The button corresponding to pressing anywhere on the primary directional input surface for the directional gamepad [@note] Equivalent to microgamepad.buttonA [@note] For the 2021 2nd generation Siri Remote, this represents pressing anywhere the entire touch surface - including the inner and outer rings. API-Since: 15.0
-
GCInputDirectionalCardinalDpad
@NotNull public static @NotNull java.lang.String GCInputDirectionalCardinalDpad()
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. [@note] For the 2021 2nd generation Siri Remote, this represents pressing on the outer ring of the touch surface. API-Since: 14.5
-
GCInputDirectionalCenterButton
@NotNull public static @NotNull java.lang.String GCInputDirectionalCenterButton()
An optional button for the directional gamepad. This input represents the center button of the cardinal dpad. [@note] For the 2021 2nd generation Siri Remote, this represents pressing anywhere on the inner ring of the touch surface. API-Since: 15.0
-
GCProductCategoryDualSense
public static java.lang.String GCProductCategoryDualSense()
Game Controller Product Categories API-Since: 15.0
-
GCProductCategoryDualShock4
public static java.lang.String GCProductCategoryDualShock4()
API-Since: 15.0
-
GCProductCategoryMFi
public static java.lang.String GCProductCategoryMFi()
API-Since: 15.0
-
GCProductCategoryXboxOne
public static java.lang.String GCProductCategoryXboxOne()
API-Since: 15.0
-
GCProductCategorySiriRemote1stGen
public static java.lang.String GCProductCategorySiriRemote1stGen()
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. API-Since: 15.0
-
GCProductCategorySiriRemote2ndGen
public static java.lang.String GCProductCategorySiriRemote2ndGen()
The Siri Remote (2nd generation), or Apple TV Remote (2nd generation), was first introduced in 2021. It features a touch-enabled clickpad for navigation. API-Since: 15.0
-
GCProductCategoryControlCenterRemote
public static java.lang.String GCProductCategoryControlCenterRemote()
Users can use Apple TV Remote controls in Control Center on an iOS or iPadOS device. API-Since: 15.0
-
GCProductCategoryUniversalElectronicsRemote
public static java.lang.String GCProductCategoryUniversalElectronicsRemote()
The Universal Electronics remote is an infrared and Bluetooth Low Energy remote designed to work with the Apple TV. API-Since: 15.0
-
GCProductCategoryCoalescedRemote
public static java.lang.String GCProductCategoryCoalescedRemote()
If multiple remotes have been combined into one, the device will have the GCProductCategoryCoalescedRemote product category. By default, the Game Controller framework will try to coalesce, or combine, the physical Apple TV Remote and the virtual Control Center remote and treat them as a single GCDevice instance. By setting GCSupportsMultipleMicroGamepads in your app's plist to true, you can disable this behavior. API-Since: 15.0
-
GCProductCategoryMouse
public static java.lang.String GCProductCategoryMouse()
Keyboards and Mice Product Categories API-Since: 15.0
-
GCProductCategoryKeyboard
public static java.lang.String GCProductCategoryKeyboard()
API-Since: 15.0
-
GCProductCategoryHID
public static java.lang.String GCProductCategoryHID()
API-Since: 16.0
-
GCControllerUserCustomizationsDidChangeNotification
@NotNull public static @NotNull java.lang.String GCControllerUserCustomizationsDidChangeNotification()
Use this constant with NSNotificationCenter to listen to controller user customization events. When a user customizes the button mappings or other settings of a controller this notification will be posted. This is a good time to swap out UI to match the new user settings. Users can modify game controller settings through the Settings app on iOS, tvOS, and macOS. The 'object' property of the notification will contain the GCController that was customized. For example: - (void)controllerDidConnect:(NSNotification *)note { GCController *controller = note.object; .... }- See Also:
NSNotificationCenter,API-Since: 16.0
-
GCInputArcadeButtonName
public static java.lang.String GCInputArcadeButtonName(long row, long column)Gets the name of an arcade button at a certain position. API-Since: 16.0
-
GCProductCategoryArcadeStick
public static java.lang.String GCProductCategoryArcadeStick()
API-Since: 17.0
-
-