@octane-xplat/macos-renderer 0.14.0 → 0.15.0
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.
- package/README.md +95 -20
- package/package.json +15 -2
- package/src/appearance.ts +2 -0
- package/src/fonts.ts +2 -0
- package/src/formatted-text.ts +147 -0
- package/src/gestures.ts +196 -0
- package/src/host-globals.d.ts +55 -0
- package/src/html-text.ts +88 -0
- package/src/image.ts +91 -16
- package/src/index.d.ts +9 -0
- package/src/index.ts +5030 -678
- package/src/layer.ts +11 -9
- package/src/list-template.ts +266 -0
- package/src/list-view.ts +445 -0
- package/src/portal-components.macos.tsx +86 -0
- package/src/presentation.ts +48 -15
- package/src/scroll-view.ts +124 -0
- package/src/tab-view.ts +512 -0
- package/src/template-props.ts +402 -0
- package/src/vendor/listview/LICENSE +19 -0
- package/src/vendor/listview/README.md +1 -0
- package/src/vendor/listview/binding-options.ts +189 -0
- package/src/vendor/listview/expressions.ts +285 -0
- package/src/webview.ts +36 -7
- package/types/ARKitCore.d.ts +199 -0
- package/types/AVFAudio.d.ts +2304 -0
- package/types/AVFoundation.d.ts +6974 -0
- package/types/AVKit.d.ts +215 -0
- package/types/AVRouting.d.ts +7 -0
- package/types/Accelerate.d.ts +4776 -0
- package/types/Accessibility.d.ts +69 -0
- package/types/Accounts.d.ts +134 -0
- package/types/AdSupport.d.ts +12 -0
- package/types/AddressBook.d.ts +1012 -0
- package/types/AppKit.d.ts +34247 -0
- package/types/AppTrackingTransparency.d.ts +23 -0
- package/types/AppleScriptKit.d.ts +6 -0
- package/types/ApplicationServices.d.ts +6346 -0
- package/types/AudioToolbox.d.ts +7129 -0
- package/types/AudioVideoBridging.d.ts +613 -0
- package/types/AuthenticationServices.d.ts +982 -0
- package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
- package/types/Automator.d.ts +248 -0
- package/types/BackgroundAssets.d.ts +9 -0
- package/types/BrowserEngineKit.d.ts +166 -0
- package/types/BusinessChat.d.ts +29 -0
- package/types/CFNetwork.d.ts +931 -0
- package/types/CalendarStore.d.ts +354 -0
- package/types/CallKit.d.ts +30 -0
- package/types/Carbon.d.ts +16207 -0
- package/types/ClassKit.d.ts +281 -0
- package/types/CloudKit.d.ts +1565 -0
- package/types/Collaboration.d.ts +123 -0
- package/types/ColorSync.d.ts +562 -0
- package/types/CompositorServices.d.ts +60 -0
- package/types/ComputeGraph.d.ts +16 -0
- package/types/Contacts.d.ts +1558 -0
- package/types/ContactsUI.d.ts +39 -0
- package/types/CoreAudio.d.ts +1376 -0
- package/types/CoreAudioKit.d.ts +122 -0
- package/types/CoreAudioTypes.d.ts +1003 -0
- package/types/CoreBluetooth.d.ts +657 -0
- package/types/CoreData.d.ts +2479 -0
- package/types/CoreFoundation.d.ts +5546 -0
- package/types/CoreGraphics.d.ts +3676 -0
- package/types/CoreHaptics.d.ts +361 -0
- package/types/CoreImage.d.ts +4781 -0
- package/types/CoreLocation.d.ts +564 -0
- package/types/CoreMIDI.d.ts +1538 -0
- package/types/CoreML.d.ts +905 -0
- package/types/CoreMedia.d.ts +2615 -0
- package/types/CoreMediaIO.d.ts +1046 -0
- package/types/CoreMotion.d.ts +316 -0
- package/types/CoreServices.d.ts +24810 -0
- package/types/CoreSpotlight.d.ts +789 -0
- package/types/CoreTelephony.d.ts +31 -0
- package/types/CoreText.d.ts +3973 -0
- package/types/CoreTransferable.d.ts +3 -0
- package/types/CoreVideo.d.ts +1162 -0
- package/types/CoreWLAN.d.ts +556 -0
- package/types/CryptoTokenKit.d.ts +548 -0
- package/types/DVDPlayback.d.ts +931 -0
- package/types/DataDetection.d.ts +66 -0
- package/types/DeviceCheck.d.ts +46 -0
- package/types/DeviceDiscoveryExtension.d.ts +142 -0
- package/types/DirectoryService.d.ts +966 -0
- package/types/DiscRecording.d.ts +2345 -0
- package/types/DiscRecordingUI.d.ts +288 -0
- package/types/DiskArbitration.d.ts +366 -0
- package/types/DriverKit.d.ts +639 -0
- package/types/EventKit.d.ts +640 -0
- package/types/ExceptionHandling.d.ts +56 -0
- package/types/ExecutionPolicy.d.ts +30 -0
- package/types/ExternalAccessory.d.ts +98 -0
- package/types/FSKit.d.ts +237 -0
- package/types/FileProvider.d.ts +495 -0
- package/types/FileProviderUI.d.ts +31 -0
- package/types/FinderSync.d.ts +165 -0
- package/types/FocusEngine.d.ts +133 -0
- package/types/ForceFeedback.d.ts +399 -0
- package/types/Foundation.d.ts +18216 -0
- package/types/GLKit.d.ts +937 -0
- package/types/GLUT.d.ts +1018 -0
- package/types/GSS.d.ts +855 -0
- package/types/GameController.d.ts +1394 -0
- package/types/GameKit.d.ts +1958 -0
- package/types/GameSave.d.ts +54 -0
- package/types/GameplayKit.d.ts +1645 -0
- package/types/HealthKit.d.ts +278 -0
- package/types/Hypervisor.d.ts +2079 -0
- package/types/ICADevices.d.ts +1400 -0
- package/types/IOBluetooth.d.ts +6094 -0
- package/types/IOBluetoothUI.d.ts +250 -0
- package/types/IOKit.d.ts +25804 -0
- package/types/IOSurface.d.ts +435 -0
- package/types/IOUSBHost.d.ts +809 -0
- package/types/ImageCaptureCore.d.ts +1104 -0
- package/types/ImageIO.d.ts +1697 -0
- package/types/InputMethodKit.d.ts +264 -0
- package/types/InstallerPlugins.d.ts +102 -0
- package/types/InstantMessage.d.ts +229 -0
- package/types/Intents.d.ts +1833 -0
- package/types/IntentsUI.d.ts +5 -0
- package/types/JavaRuntimeSupport.d.ts +520 -0
- package/types/JavaScriptCore.d.ts +934 -0
- package/types/Kerberos.d.ts +3754 -0
- package/types/Kernel.d.ts +33698 -0
- package/types/KernelManagement.d.ts +5 -0
- package/types/LatentSemanticMapping.d.ts +152 -0
- package/types/LinkPresentation.d.ts +57 -0
- package/types/LocalAuthentication.d.ts +94 -0
- package/types/MLCompute.d.ts +2343 -0
- package/types/MapKit.d.ts +2125 -0
- package/types/Matter.d.ts +151 -0
- package/types/MediaAccessibility.d.ts +137 -0
- package/types/MediaLibrary.d.ts +394 -0
- package/types/MediaPlayer.d.ts +475 -0
- package/types/MediaToolbox.d.ts +70 -0
- package/types/Metal.d.ts +4542 -0
- package/types/MetalFX.d.ts +107 -0
- package/types/MetalKit.d.ts +524 -0
- package/types/MetalPerformanceShaders.d.ts +9306 -0
- package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
- package/types/MetricKit.d.ts +231 -0
- package/types/ModelIO.d.ts +2908 -0
- package/types/MultipeerConnectivity.d.ts +348 -0
- package/types/NaturalLanguage.d.ts +556 -0
- package/types/NearbyInteraction.d.ts +51 -0
- package/types/NetFS.d.ts +99 -0
- package/types/Network.d.ts +1622 -0
- package/types/NetworkExtension.d.ts +1574 -0
- package/types/NotificationCenter.d.ts +103 -0
- package/types/OSAKit.d.ts +260 -0
- package/types/OSLog.d.ts +208 -0
- package/types/OpenAL.d.ts +314 -0
- package/types/OpenCL.d.ts +2489 -0
- package/types/OpenDirectory.d.ts +1919 -0
- package/types/OpenGL.d.ts +11322 -0
- package/types/PCSC.d.ts +534 -0
- package/types/PDFKit.d.ts +1575 -0
- package/types/PHASE.d.ts +166 -0
- package/types/ParavirtualizedGraphics.d.ts +153 -0
- package/types/PassKit.d.ts +1287 -0
- package/types/PencilKit.d.ts +201 -0
- package/types/Photos.d.ts +1125 -0
- package/types/PhotosUI.d.ts +397 -0
- package/types/PreferencePanes.d.ts +68 -0
- package/types/ProximityReaderStub.d.ts +5 -0
- package/types/PushKit.d.ts +45 -0
- package/types/Quartz.d.ts +1642 -0
- package/types/QuartzCore.d.ts +1398 -0
- package/types/QuickLook.d.ts +212 -0
- package/types/QuickLookThumbnailing.d.ts +131 -0
- package/types/QuickLookUI.d.ts +117 -0
- package/types/REVISION.json +5 -0
- package/types/ReplayKit.d.ts +294 -0
- package/types/Runtime.d.ts +51605 -0
- package/types/SafariServices.d.ts +430 -0
- package/types/SafetyKit.d.ts +7 -0
- package/types/SceneKit.d.ts +4996 -0
- package/types/ScreenCaptureKit.d.ts +16 -0
- package/types/ScreenSaver.d.ts +41 -0
- package/types/ScreenTime.d.ts +41 -0
- package/types/ScriptingBridge.d.ts +96 -0
- package/types/Security.d.ts +14336 -0
- package/types/SecurityFoundation.d.ts +53 -0
- package/types/SecurityInterface.d.ts +297 -0
- package/types/SensorKit.d.ts +7 -0
- package/types/ServiceManagement.d.ts +71 -0
- package/types/SharedWithYou.d.ts +9 -0
- package/types/SharedWithYouCore.d.ts +5 -0
- package/types/ShazamKit.d.ts +12 -0
- package/types/Social.d.ts +306 -0
- package/types/SoundAnalysis.d.ts +177 -0
- package/types/Speech.d.ts +246 -0
- package/types/SpriteKit.d.ts +2766 -0
- package/types/StoreKit.d.ts +509 -0
- package/types/SyncServices.d.ts +551 -0
- package/types/SystemConfiguration.d.ts +1415 -0
- package/types/SystemExtensions.d.ts +89 -0
- package/types/TWAIN.d.ts +380 -0
- package/types/Tcl.d.ts +4013 -0
- package/types/ThreadNetwork.d.ts +77 -0
- package/types/Tk.d.ts +3750 -0
- package/types/UIUtilities.d.ts +31 -0
- package/types/UniformTypeIdentifiers.d.ts +358 -0
- package/types/UserNotifications.d.ts +538 -0
- package/types/UserNotificationsUI.d.ts +38 -0
- package/types/VideoDecodeAcceleration.d.ts +50 -0
- package/types/VideoSubscriberAccount.d.ts +139 -0
- package/types/VideoToolbox.d.ts +907 -0
- package/types/Virtualization.d.ts +302 -0
- package/types/Vision.d.ts +1723 -0
- package/types/WebKit.d.ts +5195 -0
- package/types/WidgetKit.d.ts +9 -0
- package/types/_LocationEssentials.d.ts +159 -0
- package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
- package/types/iTunesLibrary.d.ts +528 -0
- package/types/index.d.ts +9 -0
- package/types/vecLib.d.ts +33586 -0
- package/types/vmnet.d.ts +178 -0
- package/src/appkit.d.ts +0 -472
|
@@ -0,0 +1,1394 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./AppKit.d.ts" />
|
|
3
|
+
/// <reference path="./Runtime.d.ts" />
|
|
4
|
+
|
|
5
|
+
declare const GCInputLeftThumbstick: string
|
|
6
|
+
|
|
7
|
+
declare const GCKeyCodeF1: number
|
|
8
|
+
|
|
9
|
+
declare const GCKeyCodeKeypad7: number
|
|
10
|
+
|
|
11
|
+
declare const GCHapticsLocalityLeftHandle: string
|
|
12
|
+
|
|
13
|
+
declare const GCKeyKeypad6: string
|
|
14
|
+
|
|
15
|
+
declare const GCKeyLANG4: string
|
|
16
|
+
|
|
17
|
+
declare const GCKeyCodeLANG8: number
|
|
18
|
+
|
|
19
|
+
declare const GCControllerDidStopBeingCurrentNotification: string
|
|
20
|
+
|
|
21
|
+
declare const GCKeyOne: string
|
|
22
|
+
|
|
23
|
+
declare const GCKeyD: string
|
|
24
|
+
|
|
25
|
+
declare const GCKeyCodeKeyT: number
|
|
26
|
+
|
|
27
|
+
declare const GCMouseDidStopBeingCurrentNotification: string
|
|
28
|
+
|
|
29
|
+
declare const GCKeyboardDidConnectNotification: string
|
|
30
|
+
|
|
31
|
+
declare const GCControllerDidBecomeCurrentNotification: string
|
|
32
|
+
|
|
33
|
+
declare const GCControllerDidDisconnectNotification: string
|
|
34
|
+
|
|
35
|
+
declare const GCKeyCodeCloseBracket: number
|
|
36
|
+
|
|
37
|
+
declare const GCKeyLeftGUI: string
|
|
38
|
+
|
|
39
|
+
declare const GCKeyLeftAlt: string
|
|
40
|
+
|
|
41
|
+
declare const GCKeyLeftControl: string
|
|
42
|
+
|
|
43
|
+
declare const GCKeyLANG7: string
|
|
44
|
+
|
|
45
|
+
declare const GCKeyLANG5: string
|
|
46
|
+
|
|
47
|
+
declare const GCKeyLANG2: string
|
|
48
|
+
|
|
49
|
+
declare const GCKeyLANG1: string
|
|
50
|
+
|
|
51
|
+
declare const GCKeyInternational9: string
|
|
52
|
+
|
|
53
|
+
declare const GCKeyInternational7: string
|
|
54
|
+
|
|
55
|
+
declare const GCKeyInternational4: string
|
|
56
|
+
|
|
57
|
+
declare const GCKeyInternational2: string
|
|
58
|
+
|
|
59
|
+
declare const GCKeyNonUSBackslash: string
|
|
60
|
+
|
|
61
|
+
declare const GCKeyKeypad0: string
|
|
62
|
+
|
|
63
|
+
declare const GCKeyKeypad4: string
|
|
64
|
+
|
|
65
|
+
declare const GCKeyKeypad3: string
|
|
66
|
+
|
|
67
|
+
declare const GCKeyKeypad2: string
|
|
68
|
+
|
|
69
|
+
declare const GCKeyKeypadPlus: string
|
|
70
|
+
|
|
71
|
+
declare const GCKeyKeypadAsterisk: string
|
|
72
|
+
|
|
73
|
+
declare const GCKeyKeypadNumLock: string
|
|
74
|
+
|
|
75
|
+
declare const GCKeyDownArrow: string
|
|
76
|
+
|
|
77
|
+
declare const GCKeyPageDown: string
|
|
78
|
+
|
|
79
|
+
declare const GCKeyEnd: string
|
|
80
|
+
|
|
81
|
+
declare const GCKeyDeleteForward: string
|
|
82
|
+
|
|
83
|
+
declare const GCKeyPageUp: string
|
|
84
|
+
|
|
85
|
+
declare const GCKeyF11: string
|
|
86
|
+
|
|
87
|
+
declare const GCKeyF10: string
|
|
88
|
+
|
|
89
|
+
declare const GCKeyF9: string
|
|
90
|
+
|
|
91
|
+
declare const GCKeyF8: string
|
|
92
|
+
|
|
93
|
+
declare const GCKeyF7: string
|
|
94
|
+
|
|
95
|
+
declare const GCKeyF6: string
|
|
96
|
+
|
|
97
|
+
declare const GCKeyF5: string
|
|
98
|
+
|
|
99
|
+
declare const GCKeyF4: string
|
|
100
|
+
|
|
101
|
+
declare const GCKeyCapsLock: string
|
|
102
|
+
|
|
103
|
+
declare const GCKeyPeriod: string
|
|
104
|
+
|
|
105
|
+
declare const GCKeyComma: string
|
|
106
|
+
|
|
107
|
+
declare const GCKeySemicolon: string
|
|
108
|
+
|
|
109
|
+
declare const GCKeyNonUSPound: string
|
|
110
|
+
|
|
111
|
+
declare const GCKeyCloseBracket: string
|
|
112
|
+
|
|
113
|
+
declare const GCKeyEqualSign: string
|
|
114
|
+
|
|
115
|
+
declare const GCKeySpacebar: string
|
|
116
|
+
|
|
117
|
+
declare const GCKeyZero: string
|
|
118
|
+
|
|
119
|
+
declare const GCKeyNine: string
|
|
120
|
+
|
|
121
|
+
declare const GCKeyEight: string
|
|
122
|
+
|
|
123
|
+
declare const GCKeyFour: string
|
|
124
|
+
|
|
125
|
+
declare const GCKeyThree: string
|
|
126
|
+
|
|
127
|
+
declare const GCKeyZ: string
|
|
128
|
+
|
|
129
|
+
declare const GCKeyW: string
|
|
130
|
+
|
|
131
|
+
declare const GCKeyU: string
|
|
132
|
+
|
|
133
|
+
declare const GCKeyT: string
|
|
134
|
+
|
|
135
|
+
declare const GCKeyR: string
|
|
136
|
+
|
|
137
|
+
declare const GCKeyO: string
|
|
138
|
+
|
|
139
|
+
declare const GCKeyJ: string
|
|
140
|
+
|
|
141
|
+
declare const GCKeyG: string
|
|
142
|
+
|
|
143
|
+
declare const GCKeyF: string
|
|
144
|
+
|
|
145
|
+
declare const GCKeyE: string
|
|
146
|
+
|
|
147
|
+
declare const GCKeyC: string
|
|
148
|
+
|
|
149
|
+
declare const GCKeyA: string
|
|
150
|
+
|
|
151
|
+
declare const GCKeyCodeRightGUI: number
|
|
152
|
+
|
|
153
|
+
declare const GCKeyCodeRightShift: number
|
|
154
|
+
|
|
155
|
+
declare const GCKeyCodeLeftGUI: number
|
|
156
|
+
|
|
157
|
+
declare const GCKeyCodeLeftAlt: number
|
|
158
|
+
|
|
159
|
+
declare const GCKeyCodeLeftControl: number
|
|
160
|
+
|
|
161
|
+
declare const GCKeyCodeLANG9: number
|
|
162
|
+
|
|
163
|
+
declare const GCKeyCodeLANG5: number
|
|
164
|
+
|
|
165
|
+
declare const GCKeyCodeLANG4: number
|
|
166
|
+
|
|
167
|
+
declare const GCKeyCodeLANG3: number
|
|
168
|
+
|
|
169
|
+
declare const GCKeyCodeInternational8: number
|
|
170
|
+
|
|
171
|
+
declare const GCKeyCodeInternational5: number
|
|
172
|
+
|
|
173
|
+
declare const GCKeyCodeInternational4: number
|
|
174
|
+
|
|
175
|
+
declare const GCKeyCodeInternational2: number
|
|
176
|
+
|
|
177
|
+
declare const GCKeyCodeInternational1: number
|
|
178
|
+
|
|
179
|
+
declare const GCKeyCodeNonUSBackslash: number
|
|
180
|
+
|
|
181
|
+
declare const GCKeyCodeKeypadPeriod: number
|
|
182
|
+
|
|
183
|
+
declare const GCKeyCodeKeypad8: number
|
|
184
|
+
|
|
185
|
+
declare const GCKeyCodeKeypad3: number
|
|
186
|
+
|
|
187
|
+
declare const GCKeyCodeKeypad2: number
|
|
188
|
+
|
|
189
|
+
declare const GCKeyCodeKeypadEnter: number
|
|
190
|
+
|
|
191
|
+
declare const GCKeyCodeKeypadAsterisk: number
|
|
192
|
+
|
|
193
|
+
declare const GCKeyCodeKeypadSlash: number
|
|
194
|
+
|
|
195
|
+
declare const GCKeyCodeUpArrow: number
|
|
196
|
+
|
|
197
|
+
declare const GCKeyCodePageDown: number
|
|
198
|
+
|
|
199
|
+
declare const GCKeyCodeEnd: number
|
|
200
|
+
|
|
201
|
+
declare const GCKeyCodeScrollLock: number
|
|
202
|
+
|
|
203
|
+
declare const GCKeyCodeF11: number
|
|
204
|
+
|
|
205
|
+
declare const GCKeyCodeF10: number
|
|
206
|
+
|
|
207
|
+
declare const GCKeyCodeF9: number
|
|
208
|
+
|
|
209
|
+
declare const GCKeyCodeF8: number
|
|
210
|
+
|
|
211
|
+
declare const GCKeyCodeF7: number
|
|
212
|
+
|
|
213
|
+
declare const GCKeyCodeF6: number
|
|
214
|
+
|
|
215
|
+
declare const GCKeyCodeF4: number
|
|
216
|
+
|
|
217
|
+
declare const GCKeyCodeF2: number
|
|
218
|
+
|
|
219
|
+
declare const GCKeyCodeCapsLock: number
|
|
220
|
+
|
|
221
|
+
declare const GCKeyCodeComma: number
|
|
222
|
+
|
|
223
|
+
declare const GCKeyCodeOpenBracket: number
|
|
224
|
+
|
|
225
|
+
declare const GCKeyCodeTab: number
|
|
226
|
+
|
|
227
|
+
declare const GCKeyCodeEscape: number
|
|
228
|
+
|
|
229
|
+
declare const GCKeyCodeReturnOrEnter: number
|
|
230
|
+
|
|
231
|
+
declare const GCKeyCodeNine: number
|
|
232
|
+
|
|
233
|
+
declare const GCKeyCodeEight: number
|
|
234
|
+
|
|
235
|
+
declare const GCKeyCodeSeven: number
|
|
236
|
+
|
|
237
|
+
declare const GCKeyCodeSix: number
|
|
238
|
+
|
|
239
|
+
declare const GCKeyCodeTwo: number
|
|
240
|
+
|
|
241
|
+
declare const GCKeyCodeOne: number
|
|
242
|
+
|
|
243
|
+
declare const GCKeyCodeKeyZ: number
|
|
244
|
+
|
|
245
|
+
declare const GCKeyCodeKeyY: number
|
|
246
|
+
|
|
247
|
+
declare const GCKeyCodeKeyX: number
|
|
248
|
+
|
|
249
|
+
declare const GCKeyCodeKeyW: number
|
|
250
|
+
|
|
251
|
+
declare const GCKeyCodeKeyU: number
|
|
252
|
+
|
|
253
|
+
declare const GCKeyCodeKeyR: number
|
|
254
|
+
|
|
255
|
+
declare const GCKeyCodeKeyQ: number
|
|
256
|
+
|
|
257
|
+
declare const GCKeyCodeKeyM: number
|
|
258
|
+
|
|
259
|
+
declare const GCHapticsLocalityTriggers: string
|
|
260
|
+
|
|
261
|
+
declare const GCKeyCodeKeyK: number
|
|
262
|
+
|
|
263
|
+
declare const GCKeyCodeKeyG: number
|
|
264
|
+
|
|
265
|
+
declare const GCKeyCodeKeyF: number
|
|
266
|
+
|
|
267
|
+
declare const GCKeyCodeKeyE: number
|
|
268
|
+
|
|
269
|
+
declare const GCKeyCodeKeyC: number
|
|
270
|
+
|
|
271
|
+
declare const GCKeyCodeKeyA: number
|
|
272
|
+
|
|
273
|
+
declare const GCCurrentExtendedGamepadSnapshotDataVersion: interop.Enum<
|
|
274
|
+
typeof GCExtendedGamepadSnapshotDataVersion
|
|
275
|
+
>
|
|
276
|
+
|
|
277
|
+
declare const GCHapticsLocalityRightTrigger: string
|
|
278
|
+
|
|
279
|
+
declare const GCHapticsLocalityHandles: string
|
|
280
|
+
|
|
281
|
+
declare const GCHapticsLocalityAll: string
|
|
282
|
+
|
|
283
|
+
declare const GCInputXboxPaddleThree: string
|
|
284
|
+
|
|
285
|
+
declare const GCInputXboxPaddleOne: string
|
|
286
|
+
|
|
287
|
+
declare const GCInputRightTrigger: string
|
|
288
|
+
|
|
289
|
+
declare const GCInputLeftTrigger: string
|
|
290
|
+
|
|
291
|
+
declare const GCInputRightShoulder: string
|
|
292
|
+
|
|
293
|
+
declare const GCInputRightThumbstickButton: string
|
|
294
|
+
|
|
295
|
+
declare const GCInputDirectionPad: string
|
|
296
|
+
|
|
297
|
+
declare const GCInputButtonY: string
|
|
298
|
+
|
|
299
|
+
declare const GCInputButtonA: string
|
|
300
|
+
|
|
301
|
+
declare const GCKeyKeypad1: string
|
|
302
|
+
|
|
303
|
+
declare const GCKeyLeftArrow: string
|
|
304
|
+
|
|
305
|
+
declare const GCKeyB: string
|
|
306
|
+
|
|
307
|
+
declare const GCKeyCodeKeyD: number
|
|
308
|
+
|
|
309
|
+
declare const GCInputXboxPaddleFour: string
|
|
310
|
+
|
|
311
|
+
declare const GCKeyCodeGraveAccentAndTilde: number
|
|
312
|
+
|
|
313
|
+
declare const GCKeyCodeKeypad0: number
|
|
314
|
+
|
|
315
|
+
declare const GCKeySlash: string
|
|
316
|
+
|
|
317
|
+
declare const GCInputDualShockTouchpadTwo: string
|
|
318
|
+
|
|
319
|
+
declare const GCKeyS: string
|
|
320
|
+
|
|
321
|
+
declare const GCKeyCodeKeyP: number
|
|
322
|
+
|
|
323
|
+
declare const GCKeyInternational8: string
|
|
324
|
+
|
|
325
|
+
declare const GCKeyKeypad7: string
|
|
326
|
+
|
|
327
|
+
declare const GCKeyLANG8: string
|
|
328
|
+
|
|
329
|
+
declare const GCHapticDurationInfinite: number
|
|
330
|
+
|
|
331
|
+
declare const GCKeyKeypadPeriod: string
|
|
332
|
+
|
|
333
|
+
declare const GCKeyQ: string
|
|
334
|
+
|
|
335
|
+
declare const GCKeyCodeHyphen: number
|
|
336
|
+
|
|
337
|
+
declare const GCKeyKeypad8: string
|
|
338
|
+
|
|
339
|
+
declare const GCKeyCodeKeyL: number
|
|
340
|
+
|
|
341
|
+
declare const GCKeyCodeLeftArrow: number
|
|
342
|
+
|
|
343
|
+
declare const GCKeyCodeKeypad5: number
|
|
344
|
+
|
|
345
|
+
declare const GCInputLeftThumbstickButton: string
|
|
346
|
+
|
|
347
|
+
declare const GCKeyCodeKeyI: number
|
|
348
|
+
|
|
349
|
+
declare const GCKeyCodeRightControl: number
|
|
350
|
+
|
|
351
|
+
declare const GCInputXboxPaddleTwo: string
|
|
352
|
+
|
|
353
|
+
declare const GCKeyM: string
|
|
354
|
+
|
|
355
|
+
declare const GCKeyCodeKeyO: number
|
|
356
|
+
|
|
357
|
+
declare const GCKeyPause: string
|
|
358
|
+
|
|
359
|
+
declare const GCKeyGraveAccentAndTilde: string
|
|
360
|
+
|
|
361
|
+
declare const GCKeyCodeKeyH: number
|
|
362
|
+
|
|
363
|
+
declare const GCKeyH: string
|
|
364
|
+
|
|
365
|
+
declare const GCKeyV: string
|
|
366
|
+
|
|
367
|
+
declare const GCKeyRightGUI: string
|
|
368
|
+
|
|
369
|
+
declare const GCKeyFive: string
|
|
370
|
+
|
|
371
|
+
declare const GCKeyKeypadSlash: string
|
|
372
|
+
|
|
373
|
+
declare const GCKeyCodeKeypad9: number
|
|
374
|
+
|
|
375
|
+
declare const GCKeyRightShift: string
|
|
376
|
+
|
|
377
|
+
declare const GCInputButtonHome: string
|
|
378
|
+
|
|
379
|
+
declare const GCKeyTwo: string
|
|
380
|
+
|
|
381
|
+
declare const GCKeyCodeInternational3: number
|
|
382
|
+
|
|
383
|
+
declare const GCKeyDeleteOrBackspace: string
|
|
384
|
+
|
|
385
|
+
declare const GCKeyLANG9: string
|
|
386
|
+
|
|
387
|
+
declare const GCKeyCodeFour: number
|
|
388
|
+
|
|
389
|
+
declare const GCKeyScrollLock: string
|
|
390
|
+
|
|
391
|
+
declare const GCKeyboardDidDisconnectNotification: string
|
|
392
|
+
|
|
393
|
+
declare const GCKeyCodeSlash: number
|
|
394
|
+
|
|
395
|
+
declare const GCKeyCodeRightArrow: number
|
|
396
|
+
|
|
397
|
+
declare const GCKeyF12: string
|
|
398
|
+
|
|
399
|
+
declare const GCInputButtonB: string
|
|
400
|
+
|
|
401
|
+
declare const GCKeyInternational3: string
|
|
402
|
+
|
|
403
|
+
declare const GCKeyCodeDeleteOrBackspace: number
|
|
404
|
+
|
|
405
|
+
declare const GCKeyCodePeriod: number
|
|
406
|
+
|
|
407
|
+
declare const GCKeyInternational1: string
|
|
408
|
+
|
|
409
|
+
declare const GCKeyCodeDeleteForward: number
|
|
410
|
+
|
|
411
|
+
declare const GCControllerDidConnectNotification: string
|
|
412
|
+
|
|
413
|
+
declare const GCKeyRightAlt: string
|
|
414
|
+
|
|
415
|
+
declare const GCKeyY: string
|
|
416
|
+
|
|
417
|
+
declare const GCKeyLeftShift: string
|
|
418
|
+
|
|
419
|
+
declare const GCKeyCodeKeyV: number
|
|
420
|
+
|
|
421
|
+
declare const GCInputButtonOptions: string
|
|
422
|
+
|
|
423
|
+
declare const GCKeyN: string
|
|
424
|
+
|
|
425
|
+
declare const GCInputDualShockTouchpadButton: string
|
|
426
|
+
|
|
427
|
+
declare const GCKeyCodeKeyB: number
|
|
428
|
+
|
|
429
|
+
declare const GCKeyBackslash: string
|
|
430
|
+
|
|
431
|
+
declare const GCKeyCodeFive: number
|
|
432
|
+
|
|
433
|
+
declare const GCKeyCodePower: number
|
|
434
|
+
|
|
435
|
+
declare const GCKeyCodeKeypadNumLock: number
|
|
436
|
+
|
|
437
|
+
declare const GCKeyCodePageUp: number
|
|
438
|
+
|
|
439
|
+
declare const GCMouseDidBecomeCurrentNotification: string
|
|
440
|
+
|
|
441
|
+
declare const GCKeyCodeLANG7: number
|
|
442
|
+
|
|
443
|
+
declare const GCKeyPower: string
|
|
444
|
+
|
|
445
|
+
declare const GCKeyCodeKeyN: number
|
|
446
|
+
|
|
447
|
+
declare const GCInputButtonX: string
|
|
448
|
+
|
|
449
|
+
declare const GCKeyL: string
|
|
450
|
+
|
|
451
|
+
declare const GCKeyCodeHome: number
|
|
452
|
+
|
|
453
|
+
declare const GCKeyCodeInternational6: number
|
|
454
|
+
|
|
455
|
+
declare const GCKeyTab: string
|
|
456
|
+
|
|
457
|
+
declare const GCKeyCodePrintScreen: number
|
|
458
|
+
|
|
459
|
+
declare const GCKeyCodeInternational7: number
|
|
460
|
+
|
|
461
|
+
declare const GCHapticsLocalityDefault: string
|
|
462
|
+
|
|
463
|
+
declare const GCInputRightThumbstick: string
|
|
464
|
+
|
|
465
|
+
declare const GCKeyPrintScreen: string
|
|
466
|
+
|
|
467
|
+
declare const GCKeyCodeKeypadPlus: number
|
|
468
|
+
|
|
469
|
+
declare const GCKeyCodePause: number
|
|
470
|
+
|
|
471
|
+
declare const GCKeyCodeSemicolon: number
|
|
472
|
+
|
|
473
|
+
declare const GCKeyCodeKeypadHyphen: number
|
|
474
|
+
|
|
475
|
+
declare const GCKeyQuote: string
|
|
476
|
+
|
|
477
|
+
declare const GCInputButtonMenu: string
|
|
478
|
+
|
|
479
|
+
declare const GCKeyCodeLeftShift: number
|
|
480
|
+
|
|
481
|
+
declare const GCKeyCodeF5: number
|
|
482
|
+
|
|
483
|
+
declare const GCKeyUpArrow: string
|
|
484
|
+
|
|
485
|
+
declare const GCKeyOpenBracket: string
|
|
486
|
+
|
|
487
|
+
declare const GCKeyKeypad5: string
|
|
488
|
+
|
|
489
|
+
declare const GCKeyCodeSpacebar: number
|
|
490
|
+
|
|
491
|
+
declare const GCKeyReturnOrEnter: string
|
|
492
|
+
|
|
493
|
+
declare const GCKeyLANG6: string
|
|
494
|
+
|
|
495
|
+
declare const GCKeyCodeKeypad1: number
|
|
496
|
+
|
|
497
|
+
declare const GCKeySeven: string
|
|
498
|
+
|
|
499
|
+
declare const GCKeyCodeF3: number
|
|
500
|
+
|
|
501
|
+
declare const GCKeyCodeLANG1: number
|
|
502
|
+
|
|
503
|
+
declare const GCKeyCodeInsert: number
|
|
504
|
+
|
|
505
|
+
declare const GCMouseDidConnectNotification: string
|
|
506
|
+
|
|
507
|
+
declare const GCKeyCodeDownArrow: number
|
|
508
|
+
|
|
509
|
+
declare const GCKeyKeypad9: string
|
|
510
|
+
|
|
511
|
+
declare const GCKeyCodeNonUSPound: number
|
|
512
|
+
|
|
513
|
+
declare const GCKeyCodeKeyJ: number
|
|
514
|
+
|
|
515
|
+
declare const GCKeyHyphen: string
|
|
516
|
+
|
|
517
|
+
declare const GCKeySix: string
|
|
518
|
+
|
|
519
|
+
declare const GCCurrentMicroGamepadSnapshotDataVersion: interop.Enum<
|
|
520
|
+
typeof GCMicroGamepadSnapshotDataVersion
|
|
521
|
+
>
|
|
522
|
+
|
|
523
|
+
declare const GCMouseDidDisconnectNotification: string
|
|
524
|
+
|
|
525
|
+
declare const GCKeyCodeBackslash: number
|
|
526
|
+
|
|
527
|
+
declare const GCKeyP: string
|
|
528
|
+
|
|
529
|
+
declare const GCKeyF2: string
|
|
530
|
+
|
|
531
|
+
declare const GCKeyCodeApplication: number
|
|
532
|
+
|
|
533
|
+
declare const GCKeyK: string
|
|
534
|
+
|
|
535
|
+
declare const GCKeyInternational5: string
|
|
536
|
+
|
|
537
|
+
declare const GCKeyCodeKeypad6: number
|
|
538
|
+
|
|
539
|
+
declare const GCKeyF3: string
|
|
540
|
+
|
|
541
|
+
declare const GCKeyCodeRightAlt: number
|
|
542
|
+
|
|
543
|
+
declare const GCKeyCodeKeypad4: number
|
|
544
|
+
|
|
545
|
+
declare const GCKeyEscape: string
|
|
546
|
+
|
|
547
|
+
declare const GCKeyCodeLANG2: number
|
|
548
|
+
|
|
549
|
+
declare const GCInputLeftShoulder: string
|
|
550
|
+
|
|
551
|
+
declare const GCKeyCodeInternational9: number
|
|
552
|
+
|
|
553
|
+
declare const GCHapticsLocalityLeftTrigger: string
|
|
554
|
+
|
|
555
|
+
declare const GCKeyKeypadEnter: string
|
|
556
|
+
|
|
557
|
+
declare const GCKeyCodeLANG6: number
|
|
558
|
+
|
|
559
|
+
declare const GCKeyInternational6: string
|
|
560
|
+
|
|
561
|
+
declare const GCKeyRightControl: string
|
|
562
|
+
|
|
563
|
+
declare const GCKeyCodeKeypadEqualSign: number
|
|
564
|
+
|
|
565
|
+
declare const GCKeyCodeEqualSign: number
|
|
566
|
+
|
|
567
|
+
declare const GCKeyCodeKeyS: number
|
|
568
|
+
|
|
569
|
+
declare const GCKeyLANG3: string
|
|
570
|
+
|
|
571
|
+
declare const GCKeyKeypadHyphen: string
|
|
572
|
+
|
|
573
|
+
declare const GCKeyCodeZero: number
|
|
574
|
+
|
|
575
|
+
declare const GCHapticsLocalityRightHandle: string
|
|
576
|
+
|
|
577
|
+
declare const GCKeyX: string
|
|
578
|
+
|
|
579
|
+
declare const GCInputDualShockTouchpadOne: string
|
|
580
|
+
|
|
581
|
+
declare const GCKeyCodeThree: number
|
|
582
|
+
|
|
583
|
+
declare const GCKeyI: string
|
|
584
|
+
|
|
585
|
+
declare const GCKeyRightArrow: string
|
|
586
|
+
|
|
587
|
+
declare const GCKeyKeypadEqualSign: string
|
|
588
|
+
|
|
589
|
+
declare const GCKeyApplication: string
|
|
590
|
+
|
|
591
|
+
declare const GCKeyCodeF12: number
|
|
592
|
+
|
|
593
|
+
declare const GCKeyF1: string
|
|
594
|
+
|
|
595
|
+
declare const GCKeyHome: string
|
|
596
|
+
|
|
597
|
+
declare const GCKeyCodeQuote: number
|
|
598
|
+
|
|
599
|
+
declare const GCKeyInsert: string
|
|
600
|
+
|
|
601
|
+
declare const GCExtendedGamepadSnapshotDataVersion: {
|
|
602
|
+
Version1: 256
|
|
603
|
+
Version2: 257
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
declare const GCTouchState: {
|
|
607
|
+
Up: 0
|
|
608
|
+
Down: 1
|
|
609
|
+
Moving: 2
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
declare const GCMicroGamepadSnapshotDataVersion: {
|
|
613
|
+
GCMicroGamepadSnapshotDataVersion1: 256
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
declare const GCDeviceBatteryState: {
|
|
617
|
+
Unknown: -1
|
|
618
|
+
Discharging: 0
|
|
619
|
+
Charging: 1
|
|
620
|
+
Full: 2
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
declare const GCControllerPlayerIndex: {
|
|
624
|
+
IndexUnset: -1
|
|
625
|
+
Index1: 0
|
|
626
|
+
Index2: 1
|
|
627
|
+
Index3: 2
|
|
628
|
+
Index4: 3
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
declare const GCSystemGestureState: {
|
|
632
|
+
Enabled: 0
|
|
633
|
+
Disabled: 2
|
|
634
|
+
AlwaysReceive: 1
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
declare class GCEulerAngles {
|
|
638
|
+
constructor(init?: GCEulerAngles)
|
|
639
|
+
pitch: number
|
|
640
|
+
yaw: number
|
|
641
|
+
roll: number
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
declare class GCDualSenseAdaptiveTriggerPositionalAmplitudes {
|
|
645
|
+
constructor(init?: GCDualSenseAdaptiveTriggerPositionalAmplitudes)
|
|
646
|
+
values: unknown /* const array */
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
declare class GCMicroGamepadSnapshotData {
|
|
650
|
+
constructor(init?: GCMicroGamepadSnapshotData)
|
|
651
|
+
version: number
|
|
652
|
+
size: number
|
|
653
|
+
dpadX: number
|
|
654
|
+
dpadY: number
|
|
655
|
+
buttonA: number
|
|
656
|
+
buttonX: number
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
declare class GCDualSenseAdaptiveTriggerPositionalResistiveStrengths {
|
|
660
|
+
constructor(init?: GCDualSenseAdaptiveTriggerPositionalResistiveStrengths)
|
|
661
|
+
values: unknown /* const array */
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
declare class GCExtendedGamepadSnapShotDataV100 {
|
|
665
|
+
constructor(init?: GCExtendedGamepadSnapShotDataV100)
|
|
666
|
+
version: number
|
|
667
|
+
size: number
|
|
668
|
+
dpadX: number
|
|
669
|
+
dpadY: number
|
|
670
|
+
buttonA: number
|
|
671
|
+
buttonB: number
|
|
672
|
+
buttonX: number
|
|
673
|
+
buttonY: number
|
|
674
|
+
leftShoulder: number
|
|
675
|
+
rightShoulder: number
|
|
676
|
+
leftThumbstickX: number
|
|
677
|
+
leftThumbstickY: number
|
|
678
|
+
rightThumbstickX: number
|
|
679
|
+
rightThumbstickY: number
|
|
680
|
+
leftTrigger: number
|
|
681
|
+
rightTrigger: number
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
declare class GCExtendedGamepadSnapshotData {
|
|
685
|
+
constructor(init?: GCExtendedGamepadSnapshotData)
|
|
686
|
+
version: number
|
|
687
|
+
size: number
|
|
688
|
+
dpadX: number
|
|
689
|
+
dpadY: number
|
|
690
|
+
buttonA: number
|
|
691
|
+
buttonB: number
|
|
692
|
+
buttonX: number
|
|
693
|
+
buttonY: number
|
|
694
|
+
leftShoulder: number
|
|
695
|
+
rightShoulder: number
|
|
696
|
+
leftThumbstickX: number
|
|
697
|
+
leftThumbstickY: number
|
|
698
|
+
rightThumbstickX: number
|
|
699
|
+
rightThumbstickY: number
|
|
700
|
+
leftTrigger: number
|
|
701
|
+
rightTrigger: number
|
|
702
|
+
supportsClickableThumbsticks: boolean
|
|
703
|
+
leftThumbstickButton: boolean
|
|
704
|
+
rightThumbstickButton: boolean
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
declare class GCGamepadSnapShotDataV100 {
|
|
708
|
+
constructor(init?: GCGamepadSnapShotDataV100)
|
|
709
|
+
version: number
|
|
710
|
+
size: number
|
|
711
|
+
dpadX: number
|
|
712
|
+
dpadY: number
|
|
713
|
+
buttonA: number
|
|
714
|
+
buttonB: number
|
|
715
|
+
buttonX: number
|
|
716
|
+
buttonY: number
|
|
717
|
+
leftShoulder: number
|
|
718
|
+
rightShoulder: number
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
declare class GCQuaternion {
|
|
722
|
+
constructor(init?: GCQuaternion)
|
|
723
|
+
x: number
|
|
724
|
+
y: number
|
|
725
|
+
z: number
|
|
726
|
+
w: number
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
declare class GCRotationRate {
|
|
730
|
+
constructor(init?: GCRotationRate)
|
|
731
|
+
x: number
|
|
732
|
+
y: number
|
|
733
|
+
z: number
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
declare class GCAcceleration {
|
|
737
|
+
constructor(init?: GCAcceleration)
|
|
738
|
+
x: number
|
|
739
|
+
y: number
|
|
740
|
+
z: number
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
declare class GCMicroGamepadSnapShotDataV100 {
|
|
744
|
+
constructor(init?: GCMicroGamepadSnapShotDataV100)
|
|
745
|
+
version: number
|
|
746
|
+
size: number
|
|
747
|
+
dpadX: number
|
|
748
|
+
dpadY: number
|
|
749
|
+
buttonA: number
|
|
750
|
+
buttonX: number
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
declare function GCGamepadSnapShotDataV100FromNSData(
|
|
754
|
+
snapshotData: interop.PointerConvertible,
|
|
755
|
+
data: NSData,
|
|
756
|
+
): boolean
|
|
757
|
+
|
|
758
|
+
declare function NSDataFromGCGamepadSnapShotDataV100(
|
|
759
|
+
snapshotData: interop.PointerConvertible,
|
|
760
|
+
): NSData
|
|
761
|
+
|
|
762
|
+
declare function GCExtendedGamepadSnapshotDataFromNSData(
|
|
763
|
+
snapshotData: interop.PointerConvertible,
|
|
764
|
+
data: NSData,
|
|
765
|
+
): boolean
|
|
766
|
+
|
|
767
|
+
declare function NSDataFromGCExtendedGamepadSnapshotData(
|
|
768
|
+
snapshotData: interop.PointerConvertible,
|
|
769
|
+
): NSData
|
|
770
|
+
|
|
771
|
+
declare function GCExtendedGamepadSnapShotDataV100FromNSData(
|
|
772
|
+
snapshotData: interop.PointerConvertible,
|
|
773
|
+
data: NSData,
|
|
774
|
+
): boolean
|
|
775
|
+
|
|
776
|
+
declare function NSDataFromGCExtendedGamepadSnapShotDataV100(
|
|
777
|
+
snapshotData: interop.PointerConvertible,
|
|
778
|
+
): NSData
|
|
779
|
+
|
|
780
|
+
declare function GCMicroGamepadSnapshotDataFromNSData(
|
|
781
|
+
snapshotData: interop.PointerConvertible,
|
|
782
|
+
data: NSData,
|
|
783
|
+
): boolean
|
|
784
|
+
|
|
785
|
+
declare function NSDataFromGCMicroGamepadSnapshotData(
|
|
786
|
+
snapshotData: interop.PointerConvertible,
|
|
787
|
+
): NSData
|
|
788
|
+
|
|
789
|
+
declare function GCMicroGamepadSnapShotDataV100FromNSData(
|
|
790
|
+
snapshotData: interop.PointerConvertible,
|
|
791
|
+
data: NSData,
|
|
792
|
+
): boolean
|
|
793
|
+
|
|
794
|
+
declare function NSDataFromGCMicroGamepadSnapShotDataV100(
|
|
795
|
+
snapshotData: interop.PointerConvertible,
|
|
796
|
+
): NSData
|
|
797
|
+
|
|
798
|
+
declare interface GCDirectionPadElementName extends GCPhysicalInputElementName {}
|
|
799
|
+
|
|
800
|
+
declare class GCDirectionPadElementName extends NativeObject implements GCDirectionPadElementName {}
|
|
801
|
+
|
|
802
|
+
declare interface GCSwitchElementName extends GCPhysicalInputElementName {}
|
|
803
|
+
|
|
804
|
+
declare class GCSwitchElementName extends NativeObject implements GCSwitchElementName {}
|
|
805
|
+
|
|
806
|
+
declare interface GCButtonElementName extends GCPhysicalInputElementName {}
|
|
807
|
+
|
|
808
|
+
declare class GCButtonElementName extends NativeObject implements GCButtonElementName {}
|
|
809
|
+
|
|
810
|
+
declare interface GCPhysicalInputElementName {}
|
|
811
|
+
|
|
812
|
+
declare class GCPhysicalInputElementName
|
|
813
|
+
extends NativeObject
|
|
814
|
+
implements GCPhysicalInputElementName {}
|
|
815
|
+
|
|
816
|
+
declare interface GCDevice extends NSObjectProtocol {
|
|
817
|
+
handlerQueue: NSObject
|
|
818
|
+
|
|
819
|
+
readonly vendorName: string
|
|
820
|
+
|
|
821
|
+
readonly productCategory: string
|
|
822
|
+
|
|
823
|
+
readonly physicalInputProfile: GCPhysicalInputProfile
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
declare class GCDevice extends NativeObject implements GCDevice {}
|
|
827
|
+
|
|
828
|
+
declare interface GCAxisElementName extends GCPhysicalInputElementName {}
|
|
829
|
+
|
|
830
|
+
declare class GCAxisElementName extends NativeObject implements GCAxisElementName {}
|
|
831
|
+
|
|
832
|
+
declare class GCKeyboardInput extends GCPhysicalInputProfile {
|
|
833
|
+
keyChangedHandler: (
|
|
834
|
+
p1: GCKeyboardInput,
|
|
835
|
+
p2: GCControllerButtonInput,
|
|
836
|
+
p3: number,
|
|
837
|
+
p4: boolean,
|
|
838
|
+
) => void
|
|
839
|
+
|
|
840
|
+
readonly anyKeyPressed: boolean
|
|
841
|
+
|
|
842
|
+
buttonForKeyCode(code: number): GCControllerButtonInput | null
|
|
843
|
+
|
|
844
|
+
isAnyKeyPressed(): boolean
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
declare class GCEventViewController extends NSViewController {
|
|
848
|
+
controllerUserInteractionEnabled: boolean
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
declare class GCMouse extends NSObject implements GCDevice {
|
|
852
|
+
readonly mouseInput: GCMouseInput
|
|
853
|
+
|
|
854
|
+
static readonly current: GCMouse
|
|
855
|
+
|
|
856
|
+
static mice(): NSArray
|
|
857
|
+
|
|
858
|
+
handlerQueue: NSObject
|
|
859
|
+
|
|
860
|
+
readonly vendorName: string
|
|
861
|
+
|
|
862
|
+
readonly productCategory: string
|
|
863
|
+
|
|
864
|
+
readonly physicalInputProfile: GCPhysicalInputProfile
|
|
865
|
+
|
|
866
|
+
isEqual(object: interop.Object): boolean
|
|
867
|
+
|
|
868
|
+
readonly hash: number
|
|
869
|
+
|
|
870
|
+
readonly superclass: interop.Pointer
|
|
871
|
+
|
|
872
|
+
class(): interop.Pointer
|
|
873
|
+
|
|
874
|
+
self(): this
|
|
875
|
+
|
|
876
|
+
performSelector(aSelector: string): interop.Object
|
|
877
|
+
|
|
878
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
879
|
+
|
|
880
|
+
performSelectorWithObjectWithObject(
|
|
881
|
+
aSelector: string,
|
|
882
|
+
object1: interop.Object,
|
|
883
|
+
object2: interop.Object,
|
|
884
|
+
): interop.Object
|
|
885
|
+
|
|
886
|
+
readonly isProxy: boolean
|
|
887
|
+
|
|
888
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
889
|
+
|
|
890
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
891
|
+
|
|
892
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
893
|
+
|
|
894
|
+
respondsToSelector(aSelector: string): boolean
|
|
895
|
+
|
|
896
|
+
retain(): this
|
|
897
|
+
|
|
898
|
+
release(): void
|
|
899
|
+
|
|
900
|
+
autorelease(): this
|
|
901
|
+
|
|
902
|
+
retainCount(): number
|
|
903
|
+
|
|
904
|
+
readonly zone: interop.Pointer
|
|
905
|
+
|
|
906
|
+
readonly description: string
|
|
907
|
+
|
|
908
|
+
readonly debugDescription: string
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
declare class GCMicroGamepadSnapshot extends GCMicroGamepad {
|
|
912
|
+
snapshotData: NSData
|
|
913
|
+
|
|
914
|
+
initWithSnapshotData(data: NSData): this
|
|
915
|
+
|
|
916
|
+
initWithControllerSnapshotData(controller: GCController, data: NSData): this
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
declare class GCMicroGamepad extends GCPhysicalInputProfile {
|
|
920
|
+
readonly controller: GCController | null
|
|
921
|
+
|
|
922
|
+
valueChangedHandler: (p1: GCMicroGamepad, p2: GCControllerElement) => void
|
|
923
|
+
|
|
924
|
+
saveSnapshot(): GCMicroGamepadSnapshot
|
|
925
|
+
|
|
926
|
+
readonly dpad: GCControllerDirectionPad
|
|
927
|
+
|
|
928
|
+
readonly buttonA: GCControllerButtonInput
|
|
929
|
+
|
|
930
|
+
readonly buttonX: GCControllerButtonInput
|
|
931
|
+
|
|
932
|
+
readonly buttonMenu: GCControllerButtonInput
|
|
933
|
+
|
|
934
|
+
reportsAbsoluteDpadValues: boolean
|
|
935
|
+
|
|
936
|
+
allowsRotation: boolean
|
|
937
|
+
|
|
938
|
+
setStateFromMicroGamepad(microGamepad: GCMicroGamepad): void
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
declare class GCDualShockGamepad extends GCExtendedGamepad {
|
|
942
|
+
readonly touchpadButton: GCControllerButtonInput
|
|
943
|
+
|
|
944
|
+
readonly touchpadPrimary: GCControllerDirectionPad
|
|
945
|
+
|
|
946
|
+
readonly touchpadSecondary: GCControllerDirectionPad
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
declare class GCXboxGamepad extends GCExtendedGamepad {
|
|
950
|
+
readonly paddleButton1: GCControllerButtonInput
|
|
951
|
+
|
|
952
|
+
readonly paddleButton2: GCControllerButtonInput
|
|
953
|
+
|
|
954
|
+
readonly paddleButton3: GCControllerButtonInput
|
|
955
|
+
|
|
956
|
+
readonly paddleButton4: GCControllerButtonInput
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
declare class GCMouseInput extends GCPhysicalInputProfile {
|
|
960
|
+
mouseMovedHandler: (p1: GCMouseInput, p2: number, p3: number) => void
|
|
961
|
+
|
|
962
|
+
readonly scroll: GCDeviceCursor
|
|
963
|
+
|
|
964
|
+
readonly leftButton: GCControllerButtonInput
|
|
965
|
+
|
|
966
|
+
readonly rightButton: GCControllerButtonInput
|
|
967
|
+
|
|
968
|
+
readonly middleButton: GCControllerButtonInput
|
|
969
|
+
|
|
970
|
+
readonly auxiliaryButtons: NSArray
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
declare class GCExtendedGamepad extends GCPhysicalInputProfile {
|
|
974
|
+
readonly controller: GCController | null
|
|
975
|
+
|
|
976
|
+
valueChangedHandler: (p1: GCExtendedGamepad, p2: GCControllerElement) => void
|
|
977
|
+
|
|
978
|
+
saveSnapshot(): GCExtendedGamepadSnapshot
|
|
979
|
+
|
|
980
|
+
readonly dpad: GCControllerDirectionPad
|
|
981
|
+
|
|
982
|
+
readonly buttonA: GCControllerButtonInput
|
|
983
|
+
|
|
984
|
+
readonly buttonB: GCControllerButtonInput
|
|
985
|
+
|
|
986
|
+
readonly buttonX: GCControllerButtonInput
|
|
987
|
+
|
|
988
|
+
readonly buttonY: GCControllerButtonInput
|
|
989
|
+
|
|
990
|
+
readonly buttonMenu: GCControllerButtonInput
|
|
991
|
+
|
|
992
|
+
readonly buttonOptions: GCControllerButtonInput
|
|
993
|
+
|
|
994
|
+
readonly buttonHome: GCControllerButtonInput
|
|
995
|
+
|
|
996
|
+
readonly leftThumbstick: GCControllerDirectionPad
|
|
997
|
+
|
|
998
|
+
readonly rightThumbstick: GCControllerDirectionPad
|
|
999
|
+
|
|
1000
|
+
readonly leftShoulder: GCControllerButtonInput
|
|
1001
|
+
|
|
1002
|
+
readonly rightShoulder: GCControllerButtonInput
|
|
1003
|
+
|
|
1004
|
+
readonly leftTrigger: GCControllerButtonInput
|
|
1005
|
+
|
|
1006
|
+
readonly rightTrigger: GCControllerButtonInput
|
|
1007
|
+
|
|
1008
|
+
readonly leftThumbstickButton: GCControllerButtonInput
|
|
1009
|
+
|
|
1010
|
+
readonly rightThumbstickButton: GCControllerButtonInput
|
|
1011
|
+
|
|
1012
|
+
setStateFromExtendedGamepad(extendedGamepad: GCExtendedGamepad): void
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
declare class GCGamepadSnapshot extends GCGamepad {
|
|
1016
|
+
snapshotData: NSData
|
|
1017
|
+
|
|
1018
|
+
initWithSnapshotData(data: NSData): this
|
|
1019
|
+
|
|
1020
|
+
initWithControllerSnapshotData(controller: GCController, data: NSData): this
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
declare class GCPhysicalInputProfile extends NSObject {
|
|
1024
|
+
readonly device: GCDevice | null
|
|
1025
|
+
|
|
1026
|
+
readonly lastEventTimestamp: number
|
|
1027
|
+
|
|
1028
|
+
readonly elements: NSDictionary
|
|
1029
|
+
|
|
1030
|
+
readonly buttons: NSDictionary
|
|
1031
|
+
|
|
1032
|
+
readonly axes: NSDictionary
|
|
1033
|
+
|
|
1034
|
+
readonly dpads: NSDictionary
|
|
1035
|
+
|
|
1036
|
+
readonly touchpads: NSDictionary
|
|
1037
|
+
|
|
1038
|
+
readonly allElements: NSSet
|
|
1039
|
+
|
|
1040
|
+
readonly allButtons: NSSet
|
|
1041
|
+
|
|
1042
|
+
readonly allAxes: NSSet
|
|
1043
|
+
|
|
1044
|
+
readonly allDpads: NSSet
|
|
1045
|
+
|
|
1046
|
+
readonly allTouchpads: NSSet
|
|
1047
|
+
|
|
1048
|
+
objectForKeyedSubscript(key: string): GCControllerElement | null
|
|
1049
|
+
|
|
1050
|
+
capture(): this
|
|
1051
|
+
|
|
1052
|
+
setStateFromPhysicalInput(physicalInput: GCPhysicalInputProfile): void
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
declare class GCMotion extends NSObject {
|
|
1056
|
+
readonly controller: GCController | null
|
|
1057
|
+
|
|
1058
|
+
valueChangedHandler: (p1: GCMotion) => void
|
|
1059
|
+
|
|
1060
|
+
readonly sensorsRequireManualActivation: boolean
|
|
1061
|
+
|
|
1062
|
+
sensorsActive: boolean
|
|
1063
|
+
|
|
1064
|
+
readonly hasGravityAndUserAcceleration: boolean
|
|
1065
|
+
|
|
1066
|
+
readonly gravity: GCAcceleration
|
|
1067
|
+
|
|
1068
|
+
readonly userAcceleration: GCAcceleration
|
|
1069
|
+
|
|
1070
|
+
readonly acceleration: GCAcceleration
|
|
1071
|
+
|
|
1072
|
+
readonly hasAttitudeAndRotationRate: boolean
|
|
1073
|
+
|
|
1074
|
+
readonly hasAttitude: boolean
|
|
1075
|
+
|
|
1076
|
+
readonly hasRotationRate: boolean
|
|
1077
|
+
|
|
1078
|
+
readonly attitude: GCQuaternion
|
|
1079
|
+
|
|
1080
|
+
readonly rotationRate: GCRotationRate
|
|
1081
|
+
|
|
1082
|
+
setStateFromMotion(motion: GCMotion): void
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
declare class GCDeviceCursor extends GCControllerDirectionPad {}
|
|
1086
|
+
|
|
1087
|
+
declare class GCControllerDirectionPad extends GCControllerElement {
|
|
1088
|
+
valueChangedHandler: (p1: GCControllerDirectionPad, p2: number, p3: number) => void
|
|
1089
|
+
|
|
1090
|
+
readonly xAxis: GCControllerAxisInput
|
|
1091
|
+
|
|
1092
|
+
readonly yAxis: GCControllerAxisInput
|
|
1093
|
+
|
|
1094
|
+
readonly up: GCControllerButtonInput
|
|
1095
|
+
|
|
1096
|
+
readonly down: GCControllerButtonInput
|
|
1097
|
+
|
|
1098
|
+
readonly left: GCControllerButtonInput
|
|
1099
|
+
|
|
1100
|
+
readonly right: GCControllerButtonInput
|
|
1101
|
+
|
|
1102
|
+
setValueForXAxisYAxis(xAxis: number, yAxis: number): void
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
declare class GCControllerElement extends NSObject {
|
|
1106
|
+
readonly collection: GCControllerElement
|
|
1107
|
+
|
|
1108
|
+
readonly analog: boolean
|
|
1109
|
+
|
|
1110
|
+
sfSymbolsName: string
|
|
1111
|
+
|
|
1112
|
+
localizedName: string
|
|
1113
|
+
|
|
1114
|
+
unmappedSfSymbolsName: string
|
|
1115
|
+
|
|
1116
|
+
unmappedLocalizedName: string
|
|
1117
|
+
|
|
1118
|
+
readonly aliases: NSSet
|
|
1119
|
+
|
|
1120
|
+
readonly boundToSystemGesture: boolean
|
|
1121
|
+
|
|
1122
|
+
preferredSystemGestureState: interop.Enum<typeof GCSystemGestureState>
|
|
1123
|
+
|
|
1124
|
+
isAnalog(): boolean
|
|
1125
|
+
|
|
1126
|
+
isBoundToSystemGesture(): boolean
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
declare class GCDeviceHaptics extends NSObject {
|
|
1130
|
+
readonly supportedLocalities: NSSet
|
|
1131
|
+
|
|
1132
|
+
createEngineWithLocality(locality: string): CHHapticEngine
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
declare class GCDeviceLight extends NSObject {
|
|
1136
|
+
color: GCColor
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
declare class GCColor extends NSObject implements NSCopying, NSSecureCoding {
|
|
1140
|
+
initWithRedGreenBlue(red: number, green: number, blue: number): this
|
|
1141
|
+
|
|
1142
|
+
readonly red: number
|
|
1143
|
+
|
|
1144
|
+
readonly green: number
|
|
1145
|
+
|
|
1146
|
+
readonly blue: number
|
|
1147
|
+
|
|
1148
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1149
|
+
|
|
1150
|
+
static readonly supportsSecureCoding: boolean
|
|
1151
|
+
|
|
1152
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1153
|
+
|
|
1154
|
+
initWithCoder(coder: NSCoder): this
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
declare class GCControllerButtonInput extends GCControllerElement {
|
|
1158
|
+
valueChangedHandler: (p1: GCControllerButtonInput, p2: number, p3: boolean) => void
|
|
1159
|
+
|
|
1160
|
+
pressedChangedHandler: (p1: GCControllerButtonInput, p2: number, p3: boolean) => void
|
|
1161
|
+
|
|
1162
|
+
touchedChangedHandler: (p1: GCControllerButtonInput, p2: number, p3: boolean, p4: boolean) => void
|
|
1163
|
+
|
|
1164
|
+
readonly value: number
|
|
1165
|
+
|
|
1166
|
+
readonly pressed: boolean
|
|
1167
|
+
|
|
1168
|
+
readonly touched: boolean
|
|
1169
|
+
|
|
1170
|
+
isPressed(): boolean
|
|
1171
|
+
|
|
1172
|
+
isTouched(): boolean
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
declare class GCControllerAxisInput extends GCControllerElement {
|
|
1176
|
+
valueChangedHandler: (p1: GCControllerAxisInput, p2: number) => void
|
|
1177
|
+
|
|
1178
|
+
readonly value: number
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
declare class GCControllerTouchpad extends GCControllerElement {
|
|
1182
|
+
readonly button: GCControllerButtonInput
|
|
1183
|
+
|
|
1184
|
+
touchDown: (p1: GCControllerTouchpad, p2: number, p3: number, p4: number, p5: boolean) => void
|
|
1185
|
+
|
|
1186
|
+
touchMoved: (p1: GCControllerTouchpad, p2: number, p3: number, p4: number, p5: boolean) => void
|
|
1187
|
+
|
|
1188
|
+
touchUp: (p1: GCControllerTouchpad, p2: number, p3: number, p4: number, p5: boolean) => void
|
|
1189
|
+
|
|
1190
|
+
readonly touchSurface: GCControllerDirectionPad
|
|
1191
|
+
|
|
1192
|
+
readonly touchState: interop.Enum<typeof GCTouchState>
|
|
1193
|
+
|
|
1194
|
+
reportsAbsoluteTouchSurfaceValues: boolean
|
|
1195
|
+
|
|
1196
|
+
setValueForXAxisYAxisTouchDownButtonValue(
|
|
1197
|
+
xAxis: number,
|
|
1198
|
+
yAxis: number,
|
|
1199
|
+
touchDown: boolean,
|
|
1200
|
+
buttonValue: number,
|
|
1201
|
+
): void
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
declare class GCDeviceBattery extends NSObject {
|
|
1205
|
+
readonly batteryLevel: number
|
|
1206
|
+
|
|
1207
|
+
readonly batteryState: interop.Enum<typeof GCDeviceBatteryState>
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
declare class GCExtendedGamepadSnapshot extends GCExtendedGamepad {
|
|
1211
|
+
snapshotData: NSData
|
|
1212
|
+
|
|
1213
|
+
initWithSnapshotData(data: NSData): this
|
|
1214
|
+
|
|
1215
|
+
initWithControllerSnapshotData(controller: GCController, data: NSData): this
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
declare class GCGamepad extends GCPhysicalInputProfile {
|
|
1219
|
+
readonly controller: GCController | null
|
|
1220
|
+
|
|
1221
|
+
valueChangedHandler: (p1: GCGamepad, p2: GCControllerElement) => void
|
|
1222
|
+
|
|
1223
|
+
saveSnapshot(): GCGamepadSnapshot
|
|
1224
|
+
|
|
1225
|
+
readonly dpad: GCControllerDirectionPad
|
|
1226
|
+
|
|
1227
|
+
readonly buttonA: GCControllerButtonInput
|
|
1228
|
+
|
|
1229
|
+
readonly buttonB: GCControllerButtonInput
|
|
1230
|
+
|
|
1231
|
+
readonly buttonX: GCControllerButtonInput
|
|
1232
|
+
|
|
1233
|
+
readonly buttonY: GCControllerButtonInput
|
|
1234
|
+
|
|
1235
|
+
readonly leftShoulder: GCControllerButtonInput
|
|
1236
|
+
|
|
1237
|
+
readonly rightShoulder: GCControllerButtonInput
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
declare class GCKeyboard extends NSObject implements GCDevice {
|
|
1241
|
+
readonly keyboardInput: GCKeyboardInput
|
|
1242
|
+
|
|
1243
|
+
static readonly coalescedKeyboard: GCKeyboard
|
|
1244
|
+
|
|
1245
|
+
handlerQueue: NSObject
|
|
1246
|
+
|
|
1247
|
+
readonly vendorName: string
|
|
1248
|
+
|
|
1249
|
+
readonly productCategory: string
|
|
1250
|
+
|
|
1251
|
+
readonly physicalInputProfile: GCPhysicalInputProfile
|
|
1252
|
+
|
|
1253
|
+
isEqual(object: interop.Object): boolean
|
|
1254
|
+
|
|
1255
|
+
readonly hash: number
|
|
1256
|
+
|
|
1257
|
+
readonly superclass: interop.Pointer
|
|
1258
|
+
|
|
1259
|
+
class(): interop.Pointer
|
|
1260
|
+
|
|
1261
|
+
self(): this
|
|
1262
|
+
|
|
1263
|
+
performSelector(aSelector: string): interop.Object
|
|
1264
|
+
|
|
1265
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1266
|
+
|
|
1267
|
+
performSelectorWithObjectWithObject(
|
|
1268
|
+
aSelector: string,
|
|
1269
|
+
object1: interop.Object,
|
|
1270
|
+
object2: interop.Object,
|
|
1271
|
+
): interop.Object
|
|
1272
|
+
|
|
1273
|
+
readonly isProxy: boolean
|
|
1274
|
+
|
|
1275
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1276
|
+
|
|
1277
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1278
|
+
|
|
1279
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1280
|
+
|
|
1281
|
+
respondsToSelector(aSelector: string): boolean
|
|
1282
|
+
|
|
1283
|
+
retain(): this
|
|
1284
|
+
|
|
1285
|
+
release(): void
|
|
1286
|
+
|
|
1287
|
+
autorelease(): this
|
|
1288
|
+
|
|
1289
|
+
retainCount(): number
|
|
1290
|
+
|
|
1291
|
+
readonly zone: interop.Pointer
|
|
1292
|
+
|
|
1293
|
+
readonly description: string
|
|
1294
|
+
|
|
1295
|
+
readonly debugDescription: string
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
declare class GCController extends NSObject implements GCDevice {
|
|
1299
|
+
static controllers(): NSArray
|
|
1300
|
+
|
|
1301
|
+
static readonly current: GCController
|
|
1302
|
+
|
|
1303
|
+
controllerPausedHandler: (p1: GCController) => void
|
|
1304
|
+
|
|
1305
|
+
readonly attachedToDevice: boolean
|
|
1306
|
+
|
|
1307
|
+
playerIndex: interop.Enum<typeof GCControllerPlayerIndex>
|
|
1308
|
+
|
|
1309
|
+
readonly battery: GCDeviceBattery
|
|
1310
|
+
|
|
1311
|
+
readonly physicalInputProfile: GCPhysicalInputProfile
|
|
1312
|
+
|
|
1313
|
+
readonly gamepad: GCGamepad
|
|
1314
|
+
|
|
1315
|
+
readonly microGamepad: GCMicroGamepad
|
|
1316
|
+
|
|
1317
|
+
readonly extendedGamepad: GCExtendedGamepad
|
|
1318
|
+
|
|
1319
|
+
readonly motion: GCMotion
|
|
1320
|
+
|
|
1321
|
+
readonly light: GCDeviceLight
|
|
1322
|
+
|
|
1323
|
+
readonly haptics: GCDeviceHaptics
|
|
1324
|
+
|
|
1325
|
+
static supportsHIDDevice(device: interop.Object): boolean
|
|
1326
|
+
|
|
1327
|
+
isAttachedToDevice(): boolean
|
|
1328
|
+
|
|
1329
|
+
readonly snapshot: boolean
|
|
1330
|
+
|
|
1331
|
+
capture(): GCController
|
|
1332
|
+
|
|
1333
|
+
static controllerWithMicroGamepad(): GCController
|
|
1334
|
+
|
|
1335
|
+
static controllerWithExtendedGamepad(): GCController
|
|
1336
|
+
|
|
1337
|
+
isSnapshot(): boolean
|
|
1338
|
+
|
|
1339
|
+
static startWirelessControllerDiscoveryWithCompletionHandler(
|
|
1340
|
+
completionHandler: () => void | null,
|
|
1341
|
+
): void
|
|
1342
|
+
|
|
1343
|
+
static stopWirelessControllerDiscovery(): void
|
|
1344
|
+
|
|
1345
|
+
handlerQueue: NSObject
|
|
1346
|
+
|
|
1347
|
+
readonly vendorName: string
|
|
1348
|
+
|
|
1349
|
+
readonly productCategory: string
|
|
1350
|
+
|
|
1351
|
+
isEqual(object: interop.Object): boolean
|
|
1352
|
+
|
|
1353
|
+
readonly hash: number
|
|
1354
|
+
|
|
1355
|
+
readonly superclass: interop.Pointer
|
|
1356
|
+
|
|
1357
|
+
class(): interop.Pointer
|
|
1358
|
+
|
|
1359
|
+
self(): this
|
|
1360
|
+
|
|
1361
|
+
performSelector(aSelector: string): interop.Object
|
|
1362
|
+
|
|
1363
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1364
|
+
|
|
1365
|
+
performSelectorWithObjectWithObject(
|
|
1366
|
+
aSelector: string,
|
|
1367
|
+
object1: interop.Object,
|
|
1368
|
+
object2: interop.Object,
|
|
1369
|
+
): interop.Object
|
|
1370
|
+
|
|
1371
|
+
readonly isProxy: boolean
|
|
1372
|
+
|
|
1373
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1374
|
+
|
|
1375
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1376
|
+
|
|
1377
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1378
|
+
|
|
1379
|
+
respondsToSelector(aSelector: string): boolean
|
|
1380
|
+
|
|
1381
|
+
retain(): this
|
|
1382
|
+
|
|
1383
|
+
release(): void
|
|
1384
|
+
|
|
1385
|
+
autorelease(): this
|
|
1386
|
+
|
|
1387
|
+
retainCount(): number
|
|
1388
|
+
|
|
1389
|
+
readonly zone: interop.Pointer
|
|
1390
|
+
|
|
1391
|
+
readonly description: string
|
|
1392
|
+
|
|
1393
|
+
readonly debugDescription: string
|
|
1394
|
+
}
|