pyobjc-framework-GameController 10.1__tar.gz → 10.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/Lib/GameController/__init__.py +12 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/Lib/GameController/_metadata.py +28 -7
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/Lib/pyobjc_framework_GameController.egg-info/PKG-INFO +3 -3
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/Lib/pyobjc_framework_GameController.egg-info/SOURCES.txt +2 -6
- pyobjc_framework_gamecontroller-10.3/Lib/pyobjc_framework_GameController.egg-info/requires.txt +2 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/License.txt +1 -1
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PKG-INFO +3 -3
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcaxisinput.py +2 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gclinearinput.py +2 -0
- pyobjc-framework-GameController-10.1/metadata/raw/arm64-14.0.fwinfo → pyobjc_framework_gamecontroller-10.3/metadata/raw/arm64-14.5.fwinfo +867 -5
- pyobjc-framework-GameController-10.1/metadata/raw/x86_64-14.0.fwinfo → pyobjc_framework_gamecontroller-10.3/metadata/raw/x86_64-14.5.fwinfo +867 -5
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/setup.py +2 -1
- pyobjc-framework-GameController-10.1/Lib/pyobjc_framework_GameController.egg-info/requires.txt +0 -2
- pyobjc-framework-GameController-10.1/metadata/raw/arm64-12.1.fwinfo +0 -5819
- pyobjc-framework-GameController-10.1/metadata/raw/arm64-13.0.fwinfo +0 -8251
- pyobjc-framework-GameController-10.1/metadata/raw/x86_64-12.1.fwinfo +0 -5819
- pyobjc-framework-GameController-10.1/metadata/raw/x86_64-13.0.fwinfo +0 -8251
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/Lib/pyobjc_framework_GameController.egg-info/dependency_links.txt +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/Lib/pyobjc_framework_GameController.egg-info/not-zip-safe +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/Lib/pyobjc_framework_GameController.egg-info/top_level.txt +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/MANIFEST.in +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/Modules/_GameController.m +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/Modules/_GameController_protocols.m +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/Modules/pyobjc-api.h +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/Modules/pyobjc-compat.h +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/__init__.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gamecontroller.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gamepad.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcaxiselement.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcbuttonelement.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gccontroller.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gccontrolleraxisinput.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gccontrollerbuttoninput.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gccontrollerdirectionpad.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gccontrollerelement.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gccontrollertouchpad.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcdevice.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcdevicebattery.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcdevicehaptics.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcdevicephysicalinput.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcdevicephysicalinputstate.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcdevicephysicalinputstatediff.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcdirectionalgamepad.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcdirectionpadelement.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcdualsenseadaptivetrigger.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gceventviewcontroller.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcextendedgamepad.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcextendedgamepadsnapshot.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcgamepadsnapshot.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcinputnames.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gckeyboard.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gckeyboardinput.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gckeycodes.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gckeynames.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcmicrogamepad.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcmicrogamepadsnapshot.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcmotion.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcmouse.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcmouseinput.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcphysicalinputelement.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcphysicalinputprofile.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcphysicalinputsource.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcpressedstateinput.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcproductcategories.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcracingwheel.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcrelativeinput.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcswitchelement.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcswitchpositioninput.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gcsyntheticdevicekeys.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/PyObjCTest/test_gctouchedstateinput.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/metadata/GameController.fwinfo +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/metadata/metadata.ini +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/metadata/raw/arm64-12.3.fwinfo +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/metadata/raw/arm64-13.3.fwinfo +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/metadata/raw/x86_64-10.10.fwinfo +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/metadata/raw/x86_64-10.15.fwinfo +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/metadata/raw/x86_64-10.16.fwinfo +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/metadata/raw/x86_64-10.9.fwinfo +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/metadata/raw/x86_64-12.3.fwinfo +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/metadata/raw/x86_64-13.3.fwinfo +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/pyobjc_setup.py +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/pyproject.toml +0 -0
- {pyobjc-framework-GameController-10.1 → pyobjc_framework_gamecontroller-10.3}/setup.cfg +0 -0
|
@@ -31,6 +31,18 @@ def _setup():
|
|
|
31
31
|
globals()["__dir__"] = dir_func
|
|
32
32
|
globals()["__getattr__"] = getattr_func
|
|
33
33
|
|
|
34
|
+
for cls, sel in (
|
|
35
|
+
("GCSteeringWheelElement", b"init"),
|
|
36
|
+
("GCDeviceHaptics", b"init"),
|
|
37
|
+
("GCPhysicalInputElementCollection", b"init"),
|
|
38
|
+
("GCPhysicalInputElementCollection", b"new"),
|
|
39
|
+
("GCDeviceBattery", b"init"),
|
|
40
|
+
("GCDeviceLight", b"init"),
|
|
41
|
+
("GCRacingWheel", b"init"),
|
|
42
|
+
("GCColor", b"init"),
|
|
43
|
+
):
|
|
44
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
45
|
+
|
|
34
46
|
del sys.modules["GameController._metadata"]
|
|
35
47
|
|
|
36
48
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update: Sat
|
|
3
|
+
# Last update: Sat May 18 09:29:25 2024
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -128,6 +128,9 @@ misc.update(
|
|
|
128
128
|
None,
|
|
129
129
|
1,
|
|
130
130
|
),
|
|
131
|
+
"GCPoint2": objc.createStructType(
|
|
132
|
+
"GameController.GCPoint2", b"{GCPoint2=ff}", ["x", "y"]
|
|
133
|
+
),
|
|
131
134
|
"GCExtendedGamepadSnapshotData": objc.createStructType(
|
|
132
135
|
"GameController.GCExtendedGamepadSnapshotData",
|
|
133
136
|
b"{GCExtendedGamepadSnapshotData=SSffffffffffffffZZZ}",
|
|
@@ -157,7 +160,7 @@ misc.update(
|
|
|
157
160
|
),
|
|
158
161
|
}
|
|
159
162
|
)
|
|
160
|
-
constants = """$GCControllerDidBecomeCurrentNotification$GCControllerDidConnectNotification$GCControllerDidDisconnectNotification$GCControllerDidStopBeingCurrentNotification$GCControllerUserCustomizationsDidChangeNotification$GCCurrentExtendedGamepadSnapshotDataVersion@q$GCCurrentMicroGamepadSnapshotDataVersion@q$GCHapticDurationInfinite@f$GCHapticsLocalityAll$GCHapticsLocalityDefault$GCHapticsLocalityHandles$GCHapticsLocalityLeftHandle$GCHapticsLocalityLeftTrigger$GCHapticsLocalityRightHandle$GCHapticsLocalityRightTrigger$GCHapticsLocalityTriggers$GCInputButtonA$GCInputButtonB$GCInputButtonHome$GCInputButtonMenu$GCInputButtonOptions$GCInputButtonShare$GCInputButtonX$GCInputButtonY$GCInputDirectionPad$GCInputDirectionalCardinalDpad$GCInputDirectionalCenterButton$GCInputDirectionalDpad$GCInputDirectionalTouchSurfaceButton$GCInputDualShockTouchpadButton$GCInputDualShockTouchpadOne$GCInputDualShockTouchpadTwo$GCInputLeftPaddle$GCInputLeftShoulder$GCInputLeftThumbstick$GCInputLeftThumbstickButton$GCInputLeftTrigger$GCInputMicroGamepadButtonA$GCInputMicroGamepadButtonMenu$GCInputMicroGamepadButtonX$GCInputMicroGamepadDpad$GCInputPedalAccelerator$GCInputPedalBrake$GCInputPedalClutch$GCInputRightPaddle$GCInputRightShoulder$GCInputRightThumbstick$GCInputRightThumbstickButton$GCInputRightTrigger$GCInputShifter$GCInputSteeringWheel$GCInputXboxPaddleFour$GCInputXboxPaddleOne$GCInputXboxPaddleThree$GCInputXboxPaddleTwo$GCKeyA$GCKeyApplication$GCKeyB$GCKeyBackslash$GCKeyC$GCKeyCapsLock$GCKeyCloseBracket$GCKeyCodeApplication@q$GCKeyCodeBackslash@q$GCKeyCodeCapsLock@q$GCKeyCodeCloseBracket@q$GCKeyCodeComma@q$GCKeyCodeDeleteForward@q$GCKeyCodeDeleteOrBackspace@q$GCKeyCodeDownArrow@q$GCKeyCodeEight@q$GCKeyCodeEnd@q$GCKeyCodeEqualSign@q$GCKeyCodeEscape@q$GCKeyCodeF1@q$GCKeyCodeF10@q$GCKeyCodeF11@q$GCKeyCodeF12@q$GCKeyCodeF13@q$GCKeyCodeF14@q$GCKeyCodeF15@q$GCKeyCodeF16@q$GCKeyCodeF17@q$GCKeyCodeF18@q$GCKeyCodeF19@q$GCKeyCodeF2@q$GCKeyCodeF20@q$GCKeyCodeF3@q$GCKeyCodeF4@q$GCKeyCodeF5@q$GCKeyCodeF6@q$GCKeyCodeF7@q$GCKeyCodeF8@q$GCKeyCodeF9@q$GCKeyCodeFive@q$GCKeyCodeFour@q$GCKeyCodeGraveAccentAndTilde@q$GCKeyCodeHome@q$GCKeyCodeHyphen@q$GCKeyCodeInsert@q$GCKeyCodeInternational1@q$GCKeyCodeInternational2@q$GCKeyCodeInternational3@q$GCKeyCodeInternational4@q$GCKeyCodeInternational5@q$GCKeyCodeInternational6@q$GCKeyCodeInternational7@q$GCKeyCodeInternational8@q$GCKeyCodeInternational9@q$GCKeyCodeKeyA@q$GCKeyCodeKeyB@q$GCKeyCodeKeyC@q$GCKeyCodeKeyD@q$GCKeyCodeKeyE@q$GCKeyCodeKeyF@q$GCKeyCodeKeyG@q$GCKeyCodeKeyH@q$GCKeyCodeKeyI@q$GCKeyCodeKeyJ@q$GCKeyCodeKeyK@q$GCKeyCodeKeyL@q$GCKeyCodeKeyM@q$GCKeyCodeKeyN@q$GCKeyCodeKeyO@q$GCKeyCodeKeyP@q$GCKeyCodeKeyQ@q$GCKeyCodeKeyR@q$GCKeyCodeKeyS@q$GCKeyCodeKeyT@q$GCKeyCodeKeyU@q$GCKeyCodeKeyV@q$GCKeyCodeKeyW@q$GCKeyCodeKeyX@q$GCKeyCodeKeyY@q$GCKeyCodeKeyZ@q$GCKeyCodeKeypad0@q$GCKeyCodeKeypad1@q$GCKeyCodeKeypad2@q$GCKeyCodeKeypad3@q$GCKeyCodeKeypad4@q$GCKeyCodeKeypad5@q$GCKeyCodeKeypad6@q$GCKeyCodeKeypad7@q$GCKeyCodeKeypad8@q$GCKeyCodeKeypad9@q$GCKeyCodeKeypadAsterisk@q$GCKeyCodeKeypadEnter@q$GCKeyCodeKeypadEqualSign@q$GCKeyCodeKeypadHyphen@q$GCKeyCodeKeypadNumLock@q$GCKeyCodeKeypadPeriod@q$GCKeyCodeKeypadPlus@q$GCKeyCodeKeypadSlash@q$GCKeyCodeLANG1@q$GCKeyCodeLANG2@q$GCKeyCodeLANG3@q$GCKeyCodeLANG4@q$GCKeyCodeLANG5@q$GCKeyCodeLANG6@q$GCKeyCodeLANG7@q$GCKeyCodeLANG8@q$GCKeyCodeLANG9@q$GCKeyCodeLeftAlt@q$GCKeyCodeLeftArrow@q$GCKeyCodeLeftControl@q$GCKeyCodeLeftGUI@q$GCKeyCodeLeftShift@q$GCKeyCodeNine@q$GCKeyCodeNonUSBackslash@q$GCKeyCodeNonUSPound@q$GCKeyCodeOne@q$GCKeyCodeOpenBracket@q$GCKeyCodePageDown@q$GCKeyCodePageUp@q$GCKeyCodePause@q$GCKeyCodePeriod@q$GCKeyCodePower@q$GCKeyCodePrintScreen@q$GCKeyCodeQuote@q$GCKeyCodeReturnOrEnter@q$GCKeyCodeRightAlt@q$GCKeyCodeRightArrow@q$GCKeyCodeRightControl@q$GCKeyCodeRightGUI@q$GCKeyCodeRightShift@q$GCKeyCodeScrollLock@q$GCKeyCodeSemicolon@q$GCKeyCodeSeven@q$GCKeyCodeSix@q$GCKeyCodeSlash@q$GCKeyCodeSpacebar@q$GCKeyCodeTab@q$GCKeyCodeThree@q$GCKeyCodeTwo@q$GCKeyCodeUpArrow@q$GCKeyCodeZero@q$GCKeyComma$GCKeyD$GCKeyDeleteForward$GCKeyDeleteOrBackspace$GCKeyDownArrow$GCKeyE$GCKeyEight$GCKeyEnd$GCKeyEqualSign$GCKeyEscape$GCKeyF$GCKeyF1$GCKeyF10$GCKeyF11$GCKeyF12$GCKeyF13$GCKeyF14$GCKeyF15$GCKeyF16$GCKeyF17$GCKeyF18$GCKeyF19$GCKeyF2$GCKeyF20$GCKeyF3$GCKeyF4$GCKeyF5$GCKeyF6$GCKeyF7$GCKeyF8$GCKeyF9$GCKeyFive$GCKeyFour$GCKeyG$GCKeyGraveAccentAndTilde$GCKeyH$GCKeyHome$GCKeyHyphen$GCKeyI$GCKeyInsert$GCKeyInternational1$GCKeyInternational2$GCKeyInternational3$GCKeyInternational4$GCKeyInternational5$GCKeyInternational6$GCKeyInternational7$GCKeyInternational8$GCKeyInternational9$GCKeyJ$GCKeyK$GCKeyKeypad0$GCKeyKeypad1$GCKeyKeypad2$GCKeyKeypad3$GCKeyKeypad4$GCKeyKeypad5$GCKeyKeypad6$GCKeyKeypad7$GCKeyKeypad8$GCKeyKeypad9$GCKeyKeypadAsterisk$GCKeyKeypadEnter$GCKeyKeypadEqualSign$GCKeyKeypadHyphen$GCKeyKeypadNumLock$GCKeyKeypadPeriod$GCKeyKeypadPlus$GCKeyKeypadSlash$GCKeyL$GCKeyLANG1$GCKeyLANG2$GCKeyLANG3$GCKeyLANG4$GCKeyLANG5$GCKeyLANG6$GCKeyLANG7$GCKeyLANG8$GCKeyLANG9$GCKeyLeftAlt$GCKeyLeftArrow$GCKeyLeftControl$GCKeyLeftGUI$GCKeyLeftShift$GCKeyM$GCKeyN$GCKeyNine$GCKeyNonUSBackslash$GCKeyNonUSPound$GCKeyO$GCKeyOne$GCKeyOpenBracket$GCKeyP$GCKeyPageDown$GCKeyPageUp$GCKeyPause$GCKeyPeriod$GCKeyPower$GCKeyPrintScreen$GCKeyQ$GCKeyQuote$GCKeyR$GCKeyReturnOrEnter$GCKeyRightAlt$GCKeyRightArrow$GCKeyRightControl$GCKeyRightGUI$GCKeyRightShift$GCKeyS$GCKeyScrollLock$GCKeySemicolon$GCKeySeven$GCKeySix$GCKeySlash$GCKeySpacebar$GCKeyT$GCKeyTab$GCKeyThree$GCKeyTwo$GCKeyU$GCKeyUpArrow$GCKeyV$GCKeyW$GCKeyX$GCKeyY$GCKeyZ$GCKeyZero$GCKeyboardDidConnectNotification$GCKeyboardDidDisconnectNotification$GCMouseDidBecomeCurrentNotification$GCMouseDidConnectNotification$GCMouseDidDisconnectNotification$GCMouseDidStopBeingCurrentNotification$GCProductCategoryArcadeStick$GCProductCategoryCoalescedRemote$GCProductCategoryControlCenterRemote$GCProductCategoryDualSense$GCProductCategoryDualShock4$GCProductCategoryHID$GCProductCategoryKeyboard$GCProductCategoryMFi$GCProductCategoryMouse$GCProductCategorySiriRemote1stGen$GCProductCategorySiriRemote2ndGen$GCProductCategoryUniversalElectronicsRemote$GCProductCategoryXboxOne$GCRacingWheelDidConnectNotification$GCRacingWheelDidDisconnectNotification$"""
|
|
163
|
+
constants = """$GCControllerDidBecomeCurrentNotification$GCControllerDidConnectNotification$GCControllerDidDisconnectNotification$GCControllerDidStopBeingCurrentNotification$GCControllerUserCustomizationsDidChangeNotification$GCCurrentExtendedGamepadSnapshotDataVersion@q$GCCurrentMicroGamepadSnapshotDataVersion@q$GCHapticDurationInfinite@f$GCHapticsLocalityAll$GCHapticsLocalityDefault$GCHapticsLocalityHandles$GCHapticsLocalityLeftHandle$GCHapticsLocalityLeftTrigger$GCHapticsLocalityRightHandle$GCHapticsLocalityRightTrigger$GCHapticsLocalityTriggers$GCInputButtonA$GCInputButtonB$GCInputButtonHome$GCInputButtonMenu$GCInputButtonOptions$GCInputButtonShare$GCInputButtonX$GCInputButtonY$GCInputDirectionPad$GCInputDirectionalCardinalDpad$GCInputDirectionalCenterButton$GCInputDirectionalDpad$GCInputDirectionalTouchSurfaceButton$GCInputDualShockTouchpadButton$GCInputDualShockTouchpadOne$GCInputDualShockTouchpadTwo$GCInputLeftBumper$GCInputLeftPaddle$GCInputLeftShoulder$GCInputLeftThumbstick$GCInputLeftThumbstickButton$GCInputLeftTrigger$GCInputMicroGamepadButtonA$GCInputMicroGamepadButtonMenu$GCInputMicroGamepadButtonX$GCInputMicroGamepadDpad$GCInputPedalAccelerator$GCInputPedalBrake$GCInputPedalClutch$GCInputRightBumper$GCInputRightPaddle$GCInputRightShoulder$GCInputRightThumbstick$GCInputRightThumbstickButton$GCInputRightTrigger$GCInputShifter$GCInputSteeringWheel$GCInputXboxPaddleFour$GCInputXboxPaddleOne$GCInputXboxPaddleThree$GCInputXboxPaddleTwo$GCKeyA$GCKeyApplication$GCKeyB$GCKeyBackslash$GCKeyC$GCKeyCapsLock$GCKeyCloseBracket$GCKeyCodeApplication@q$GCKeyCodeBackslash@q$GCKeyCodeCapsLock@q$GCKeyCodeCloseBracket@q$GCKeyCodeComma@q$GCKeyCodeDeleteForward@q$GCKeyCodeDeleteOrBackspace@q$GCKeyCodeDownArrow@q$GCKeyCodeEight@q$GCKeyCodeEnd@q$GCKeyCodeEqualSign@q$GCKeyCodeEscape@q$GCKeyCodeF1@q$GCKeyCodeF10@q$GCKeyCodeF11@q$GCKeyCodeF12@q$GCKeyCodeF13@q$GCKeyCodeF14@q$GCKeyCodeF15@q$GCKeyCodeF16@q$GCKeyCodeF17@q$GCKeyCodeF18@q$GCKeyCodeF19@q$GCKeyCodeF2@q$GCKeyCodeF20@q$GCKeyCodeF3@q$GCKeyCodeF4@q$GCKeyCodeF5@q$GCKeyCodeF6@q$GCKeyCodeF7@q$GCKeyCodeF8@q$GCKeyCodeF9@q$GCKeyCodeFive@q$GCKeyCodeFour@q$GCKeyCodeGraveAccentAndTilde@q$GCKeyCodeHome@q$GCKeyCodeHyphen@q$GCKeyCodeInsert@q$GCKeyCodeInternational1@q$GCKeyCodeInternational2@q$GCKeyCodeInternational3@q$GCKeyCodeInternational4@q$GCKeyCodeInternational5@q$GCKeyCodeInternational6@q$GCKeyCodeInternational7@q$GCKeyCodeInternational8@q$GCKeyCodeInternational9@q$GCKeyCodeKeyA@q$GCKeyCodeKeyB@q$GCKeyCodeKeyC@q$GCKeyCodeKeyD@q$GCKeyCodeKeyE@q$GCKeyCodeKeyF@q$GCKeyCodeKeyG@q$GCKeyCodeKeyH@q$GCKeyCodeKeyI@q$GCKeyCodeKeyJ@q$GCKeyCodeKeyK@q$GCKeyCodeKeyL@q$GCKeyCodeKeyM@q$GCKeyCodeKeyN@q$GCKeyCodeKeyO@q$GCKeyCodeKeyP@q$GCKeyCodeKeyQ@q$GCKeyCodeKeyR@q$GCKeyCodeKeyS@q$GCKeyCodeKeyT@q$GCKeyCodeKeyU@q$GCKeyCodeKeyV@q$GCKeyCodeKeyW@q$GCKeyCodeKeyX@q$GCKeyCodeKeyY@q$GCKeyCodeKeyZ@q$GCKeyCodeKeypad0@q$GCKeyCodeKeypad1@q$GCKeyCodeKeypad2@q$GCKeyCodeKeypad3@q$GCKeyCodeKeypad4@q$GCKeyCodeKeypad5@q$GCKeyCodeKeypad6@q$GCKeyCodeKeypad7@q$GCKeyCodeKeypad8@q$GCKeyCodeKeypad9@q$GCKeyCodeKeypadAsterisk@q$GCKeyCodeKeypadEnter@q$GCKeyCodeKeypadEqualSign@q$GCKeyCodeKeypadHyphen@q$GCKeyCodeKeypadNumLock@q$GCKeyCodeKeypadPeriod@q$GCKeyCodeKeypadPlus@q$GCKeyCodeKeypadSlash@q$GCKeyCodeLANG1@q$GCKeyCodeLANG2@q$GCKeyCodeLANG3@q$GCKeyCodeLANG4@q$GCKeyCodeLANG5@q$GCKeyCodeLANG6@q$GCKeyCodeLANG7@q$GCKeyCodeLANG8@q$GCKeyCodeLANG9@q$GCKeyCodeLeftAlt@q$GCKeyCodeLeftArrow@q$GCKeyCodeLeftControl@q$GCKeyCodeLeftGUI@q$GCKeyCodeLeftShift@q$GCKeyCodeNine@q$GCKeyCodeNonUSBackslash@q$GCKeyCodeNonUSPound@q$GCKeyCodeOne@q$GCKeyCodeOpenBracket@q$GCKeyCodePageDown@q$GCKeyCodePageUp@q$GCKeyCodePause@q$GCKeyCodePeriod@q$GCKeyCodePower@q$GCKeyCodePrintScreen@q$GCKeyCodeQuote@q$GCKeyCodeReturnOrEnter@q$GCKeyCodeRightAlt@q$GCKeyCodeRightArrow@q$GCKeyCodeRightControl@q$GCKeyCodeRightGUI@q$GCKeyCodeRightShift@q$GCKeyCodeScrollLock@q$GCKeyCodeSemicolon@q$GCKeyCodeSeven@q$GCKeyCodeSix@q$GCKeyCodeSlash@q$GCKeyCodeSpacebar@q$GCKeyCodeTab@q$GCKeyCodeThree@q$GCKeyCodeTwo@q$GCKeyCodeUpArrow@q$GCKeyCodeZero@q$GCKeyComma$GCKeyD$GCKeyDeleteForward$GCKeyDeleteOrBackspace$GCKeyDownArrow$GCKeyE$GCKeyEight$GCKeyEnd$GCKeyEqualSign$GCKeyEscape$GCKeyF$GCKeyF1$GCKeyF10$GCKeyF11$GCKeyF12$GCKeyF13$GCKeyF14$GCKeyF15$GCKeyF16$GCKeyF17$GCKeyF18$GCKeyF19$GCKeyF2$GCKeyF20$GCKeyF3$GCKeyF4$GCKeyF5$GCKeyF6$GCKeyF7$GCKeyF8$GCKeyF9$GCKeyFive$GCKeyFour$GCKeyG$GCKeyGraveAccentAndTilde$GCKeyH$GCKeyHome$GCKeyHyphen$GCKeyI$GCKeyInsert$GCKeyInternational1$GCKeyInternational2$GCKeyInternational3$GCKeyInternational4$GCKeyInternational5$GCKeyInternational6$GCKeyInternational7$GCKeyInternational8$GCKeyInternational9$GCKeyJ$GCKeyK$GCKeyKeypad0$GCKeyKeypad1$GCKeyKeypad2$GCKeyKeypad3$GCKeyKeypad4$GCKeyKeypad5$GCKeyKeypad6$GCKeyKeypad7$GCKeyKeypad8$GCKeyKeypad9$GCKeyKeypadAsterisk$GCKeyKeypadEnter$GCKeyKeypadEqualSign$GCKeyKeypadHyphen$GCKeyKeypadNumLock$GCKeyKeypadPeriod$GCKeyKeypadPlus$GCKeyKeypadSlash$GCKeyL$GCKeyLANG1$GCKeyLANG2$GCKeyLANG3$GCKeyLANG4$GCKeyLANG5$GCKeyLANG6$GCKeyLANG7$GCKeyLANG8$GCKeyLANG9$GCKeyLeftAlt$GCKeyLeftArrow$GCKeyLeftControl$GCKeyLeftGUI$GCKeyLeftShift$GCKeyM$GCKeyN$GCKeyNine$GCKeyNonUSBackslash$GCKeyNonUSPound$GCKeyO$GCKeyOne$GCKeyOpenBracket$GCKeyP$GCKeyPageDown$GCKeyPageUp$GCKeyPause$GCKeyPeriod$GCKeyPower$GCKeyPrintScreen$GCKeyQ$GCKeyQuote$GCKeyR$GCKeyReturnOrEnter$GCKeyRightAlt$GCKeyRightArrow$GCKeyRightControl$GCKeyRightGUI$GCKeyRightShift$GCKeyS$GCKeyScrollLock$GCKeySemicolon$GCKeySeven$GCKeySix$GCKeySlash$GCKeySpacebar$GCKeyT$GCKeyTab$GCKeyThree$GCKeyTwo$GCKeyU$GCKeyUpArrow$GCKeyV$GCKeyW$GCKeyX$GCKeyY$GCKeyZ$GCKeyZero$GCKeyboardDidConnectNotification$GCKeyboardDidDisconnectNotification$GCMouseDidBecomeCurrentNotification$GCMouseDidConnectNotification$GCMouseDidDisconnectNotification$GCMouseDidStopBeingCurrentNotification$GCPoint2Zero@{GCPoint2=ff}$GCProductCategoryArcadeStick$GCProductCategoryCoalescedRemote$GCProductCategoryControlCenterRemote$GCProductCategoryDualSense$GCProductCategoryDualShock4$GCProductCategoryHID$GCProductCategoryKeyboard$GCProductCategoryMFi$GCProductCategoryMouse$GCProductCategorySiriRemote1stGen$GCProductCategorySiriRemote2ndGen$GCProductCategoryUniversalElectronicsRemote$GCProductCategoryXboxOne$GCRacingWheelDidConnectNotification$GCRacingWheelDidDisconnectNotification$"""
|
|
161
164
|
enums = """$GCControllerPlayerIndex1@0$GCControllerPlayerIndex2@1$GCControllerPlayerIndex3@2$GCControllerPlayerIndex4@3$GCControllerPlayerIndexUnset@-1$GCDeviceBatteryStateCharging@1$GCDeviceBatteryStateDischarging@0$GCDeviceBatteryStateFull@2$GCDeviceBatteryStateUnknown@-1$GCDevicePhysicalInputElementChanged@1$GCDevicePhysicalInputElementNoChange@0$GCDevicePhysicalInputElementUnknownChange@-1$GCDualSenseAdaptiveTriggerDiscretePositionCount@10$GCDualSenseAdaptiveTriggerModeFeedback@1$GCDualSenseAdaptiveTriggerModeOff@0$GCDualSenseAdaptiveTriggerModeSlopeFeedback@4$GCDualSenseAdaptiveTriggerModeVibration@3$GCDualSenseAdaptiveTriggerModeWeapon@2$GCDualSenseAdaptiveTriggerStatusFeedbackLoadApplied@1$GCDualSenseAdaptiveTriggerStatusFeedbackNoLoad@0$GCDualSenseAdaptiveTriggerStatusSlopeFeedbackApplyingLoad@8$GCDualSenseAdaptiveTriggerStatusSlopeFeedbackFinished@9$GCDualSenseAdaptiveTriggerStatusSlopeFeedbackReady@7$GCDualSenseAdaptiveTriggerStatusUnknown@-1$GCDualSenseAdaptiveTriggerStatusVibrationIsVibrating@6$GCDualSenseAdaptiveTriggerStatusVibrationNotVibrating@5$GCDualSenseAdaptiveTriggerStatusWeaponFired@4$GCDualSenseAdaptiveTriggerStatusWeaponFiring@3$GCDualSenseAdaptiveTriggerStatusWeaponReady@2$GCExtendedGamepadSnapshotDataVersion1@256$GCExtendedGamepadSnapshotDataVersion2@257$GCMicroGamepadSnapshotDataVersion1@256$GCPhysicalInputSourceDirectionDown@4$GCPhysicalInputSourceDirectionLeft@8$GCPhysicalInputSourceDirectionNotApplicable@0$GCPhysicalInputSourceDirectionRight@2$GCPhysicalInputSourceDirectionUp@1$GCSystemGestureStateAlwaysReceive@1$GCSystemGestureStateDisabled@2$GCSystemGestureStateEnabled@0$GCTouchStateDown@1$GCTouchStateMoving@2$GCTouchStateUp@0$"""
|
|
162
165
|
misc.update(
|
|
163
166
|
{
|
|
@@ -176,10 +179,6 @@ misc.update(
|
|
|
176
179
|
"GCPhysicalInputSourceDirection": NewType(
|
|
177
180
|
"GCPhysicalInputSourceDirection", int
|
|
178
181
|
),
|
|
179
|
-
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDualSenseAdaptiveTrigger.h:12:1)": NewType(
|
|
180
|
-
"enum (unnamed at /Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDualSenseAdaptiveTrigger.h:12:1)",
|
|
181
|
-
int,
|
|
182
|
-
),
|
|
183
182
|
"GCExtendedGamepadSnapshotDataVersion": NewType(
|
|
184
183
|
"GCExtendedGamepadSnapshotDataVersion", int
|
|
185
184
|
),
|
|
@@ -212,6 +211,7 @@ functions = {
|
|
|
212
211
|
"",
|
|
213
212
|
{"arguments": {0: {"type_modifier": "o"}}},
|
|
214
213
|
),
|
|
214
|
+
"GCPoint2Make": (b"{GCPoint2=ff}ff",),
|
|
215
215
|
"NSDataFromGCMicroGamepadSnapshotData": (
|
|
216
216
|
b"@^{GCMicroGamepadSnapshotData=SSffff}",
|
|
217
217
|
"",
|
|
@@ -252,6 +252,10 @@ functions = {
|
|
|
252
252
|
"",
|
|
253
253
|
{"arguments": {0: {"type_modifier": "n"}}},
|
|
254
254
|
),
|
|
255
|
+
"GCInputBackLeftButton": (b"@q",),
|
|
256
|
+
"NSStringFromGCPoint2": (b"@{GCPoint2=ff}",),
|
|
257
|
+
"GCInputBackRightButton": (b"@q",),
|
|
258
|
+
"GCPoint2Equal": (b"B{GCPoint2=ff}{GCPoint2=ff}",),
|
|
255
259
|
}
|
|
256
260
|
r = objc.registerMetaDataForSelector
|
|
257
261
|
objc._updatingMetadata(True)
|
|
@@ -1304,7 +1308,7 @@ try:
|
|
|
1304
1308
|
)
|
|
1305
1309
|
r(b"NSObject", b"touchedInput", {"required": True, "retval": {"type": b"@"}})
|
|
1306
1310
|
r(b"NSObject", b"up", {"required": True, "retval": {"type": b"@"}})
|
|
1307
|
-
r(b"NSObject", b"value", {"required": True, "retval": {"type": b"
|
|
1311
|
+
r(b"NSObject", b"value", {"required": True, "retval": {"type": b"{GCPoint2=ff}"}})
|
|
1308
1312
|
r(
|
|
1309
1313
|
b"NSObject",
|
|
1310
1314
|
b"valueDidChangeHandler",
|
|
@@ -1326,9 +1330,26 @@ try:
|
|
|
1326
1330
|
)
|
|
1327
1331
|
r(b"NSObject", b"vendorName", {"required": True, "retval": {"type": b"@"}})
|
|
1328
1332
|
r(b"NSObject", b"xAxis", {"required": True, "retval": {"type": b"@"}})
|
|
1333
|
+
r(b"NSObject", b"xyAxes", {"required": True, "retval": {"type": b"@"}})
|
|
1329
1334
|
r(b"NSObject", b"yAxis", {"required": True, "retval": {"type": b"@"}})
|
|
1330
1335
|
finally:
|
|
1331
1336
|
objc._updatingMetadata(False)
|
|
1337
|
+
|
|
1338
|
+
objc.registerNewKeywordsFromSelector("GCColor", b"initWithRed:green:blue:")
|
|
1339
|
+
objc.registerNewKeywordsFromSelector(
|
|
1340
|
+
"GCExtendedGamepadSnapshot", b"initWithController:snapshotData:"
|
|
1341
|
+
)
|
|
1342
|
+
objc.registerNewKeywordsFromSelector(
|
|
1343
|
+
"GCExtendedGamepadSnapshot", b"initWithSnapshotData:"
|
|
1344
|
+
)
|
|
1345
|
+
objc.registerNewKeywordsFromSelector(
|
|
1346
|
+
"GCGamepadSnapshot", b"initWithController:snapshotData:"
|
|
1347
|
+
)
|
|
1348
|
+
objc.registerNewKeywordsFromSelector("GCGamepadSnapshot", b"initWithSnapshotData:")
|
|
1349
|
+
objc.registerNewKeywordsFromSelector(
|
|
1350
|
+
"GCMicroGamepadSnapshot", b"initWithController:snapshotData:"
|
|
1351
|
+
)
|
|
1352
|
+
objc.registerNewKeywordsFromSelector("GCMicroGamepadSnapshot", b"initWithSnapshotData:")
|
|
1332
1353
|
expressions = {}
|
|
1333
1354
|
|
|
1334
1355
|
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-GameController
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.3
|
|
4
4
|
Summary: Wrappers for the framework GameController on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
31
|
Requires-Python: >=3.8
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=10.
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=10.
|
|
33
|
+
Requires-Dist: pyobjc-core>=10.3
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.3
|
|
35
35
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
36
36
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
37
37
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -64,17 +64,13 @@ PyObjCTest/test_gcsyntheticdevicekeys.py
|
|
|
64
64
|
PyObjCTest/test_gctouchedstateinput.py
|
|
65
65
|
metadata/GameController.fwinfo
|
|
66
66
|
metadata/metadata.ini
|
|
67
|
-
metadata/raw/arm64-12.1.fwinfo
|
|
68
67
|
metadata/raw/arm64-12.3.fwinfo
|
|
69
|
-
metadata/raw/arm64-13.0.fwinfo
|
|
70
68
|
metadata/raw/arm64-13.3.fwinfo
|
|
71
|
-
metadata/raw/arm64-14.
|
|
69
|
+
metadata/raw/arm64-14.5.fwinfo
|
|
72
70
|
metadata/raw/x86_64-10.10.fwinfo
|
|
73
71
|
metadata/raw/x86_64-10.15.fwinfo
|
|
74
72
|
metadata/raw/x86_64-10.16.fwinfo
|
|
75
73
|
metadata/raw/x86_64-10.9.fwinfo
|
|
76
|
-
metadata/raw/x86_64-12.1.fwinfo
|
|
77
74
|
metadata/raw/x86_64-12.3.fwinfo
|
|
78
|
-
metadata/raw/x86_64-13.0.fwinfo
|
|
79
75
|
metadata/raw/x86_64-13.3.fwinfo
|
|
80
|
-
metadata/raw/x86_64-14.
|
|
76
|
+
metadata/raw/x86_64-14.5.fwinfo
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(This is the MIT license, note that libffi-src is a separate product with its own license)
|
|
2
2
|
|
|
3
3
|
Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
|
|
4
|
-
Copyright 2003-
|
|
4
|
+
Copyright 2003-2024 - Ronald Oussoren
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-GameController
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.3
|
|
4
4
|
Summary: Wrappers for the framework GameController on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
31
|
Requires-Python: >=3.8
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=10.
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=10.
|
|
33
|
+
Requires-Dist: pyobjc-core>=10.3
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=10.3
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
Wrappers for the "GameController" framework on macOS introduced in macOS 10.9.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from PyObjCTools.TestSupport import (
|
|
2
2
|
TestCase,
|
|
3
3
|
min_sdk_level,
|
|
4
|
+
expectedFailure,
|
|
4
5
|
)
|
|
5
6
|
import GameController
|
|
6
7
|
|
|
@@ -33,6 +34,7 @@ class TestGCAxisInput(TestCase):
|
|
|
33
34
|
def test_protocols(self):
|
|
34
35
|
self.assertProtocolExists("GCAxisInput")
|
|
35
36
|
|
|
37
|
+
@expectedFailure # 'value' method is requires explicit protocol definition.
|
|
36
38
|
def test_protocol_methods(self):
|
|
37
39
|
self.assertResultIsBlock(TestGCAxisInputHelper.valueDidChangeHandler, b"v@@f")
|
|
38
40
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from PyObjCTools.TestSupport import (
|
|
2
2
|
TestCase,
|
|
3
3
|
min_sdk_level,
|
|
4
|
+
expectedFailure,
|
|
4
5
|
)
|
|
5
6
|
import GameController
|
|
6
7
|
|
|
@@ -33,6 +34,7 @@ class TestGCLinearInput(TestCase):
|
|
|
33
34
|
def test_protocols(self):
|
|
34
35
|
self.assertProtocolExists("GCLinearInput")
|
|
35
36
|
|
|
37
|
+
@expectedFailure # value method requires explicit protocol definition
|
|
36
38
|
def test_protocol_methods(self):
|
|
37
39
|
self.assertResultIsBlock(TestGCLinearInputHelper.valueDidChangeHandler, b"v@@f")
|
|
38
40
|
self.assertArgIsBlock(
|