Repository navigation
Expand file tree
/
Copy pathGameController.d.ts
More file actions
2019 lines (1156 loc) · 46.7 KB
/
Copy pathGameController.d.ts
File metadata and controls
2019 lines (1156 loc) · 46.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/// <reference types="@nativescript/objc-node-api" />
/// <reference path="./Runtime.d.ts" />
/// <reference path="./UIKit.d.ts" />
declare const GCKeyRightControl: string;
declare const GCKeyCodeKeypadNumLock: number;
declare const GCInputRightTrigger: string;
declare const GCKeyFour: string;
declare const GCInputButtonMenu: string;
declare const GCKeyCodeF13: number;
declare const GCKeyInternational4: string;
declare const GCKeyCodeKeyC: number;
declare const GCKeyCodeThree: number;
declare const GCKeyCodeKeyV: number;
declare const GCKeyE: string;
declare const GCKeyCodeInternational4: number;
declare const GCKeyInternational5: string;
declare const GCInputMicroGamepadButtonMenu: string;
declare const GCKeyF7: string;
declare const GCInputRightThumbstick: string;
declare const GCKeyLANG9: string;
declare const GCKeyCodeDownArrow: number;
declare const GCInputDirectionalDpad: string;
declare const GCKeyApplication: string;
declare const GCKeyB: string;
declare const GCKeyPause: string;
declare const GCKeyCodeNine: number;
declare const GCKeyCodeKeypad6: number;
declare const GCKeyCodeF3: number;
declare const GCKeyKeypadPeriod: string;
declare const GCKeyUpArrow: string;
declare const GCHapticsLocalityLeftTrigger: string;
declare const GCHapticsLocalityTriggers: string;
declare const GCHapticsLocalityHandles: string;
declare const GCHapticsLocalityAll: string;
declare const GCMouseDidStopBeingCurrentNotification: string;
declare const GCMouseDidDisconnectNotification: string;
declare const GCMouseDidConnectNotification: string;
declare const GCKeyboardDidConnectNotification: string;
declare const GCControllerUserCustomizationsDidChangeNotification: string;
declare const GCControllerDidStopBeingCurrentNotification: string;
declare const GCControllerDidBecomeCurrentNotification: string;
declare const GCControllerDidDisconnectNotification: string;
declare const GCKeyCodeInternational9: number;
declare const GCControllerDidConnectNotification: string;
declare const GCInputDirectionalCardinalDpad: string;
declare const GCInputMicroGamepadDpad: string;
declare const GCKeyRightGUI: string;
declare const GCKeyRightAlt: string;
declare const GCKeyRightShift: string;
declare const GCKeyLeftGUI: string;
declare const GCKeyLeftShift: string;
declare const GCKeyLeftControl: string;
declare const GCKeyLANG8: string;
declare const GCKeyLANG6: string;
declare const GCKeyLANG4: string;
declare const GCKeyLANG3: string;
declare const GCKeyInternational9: string;
declare const GCKeyInternational6: string;
declare const GCKeyInternational1: string;
declare const GCKeyNonUSBackslash: string;
declare const GCKeyKeypad7: string;
declare const GCKeyKeypad6: string;
declare const GCKeyKeypad5: string;
declare const GCKeyKeypad4: string;
declare const GCKeyKeypad1: string;
declare const GCKeyKeypadEnter: string;
declare const GCKeyKeypadAsterisk: string;
declare const GCKeyKeypadSlash: string;
declare const GCKeyKeypadNumLock: string;
declare const GCKeyDownArrow: string;
declare const GCKeyLeftArrow: string;
declare const GCKeyRightArrow: string;
declare const GCKeyPageDown: string;
declare const GCKeyEnd: string;
declare const GCKeyDeleteForward: string;
declare const GCKeyInsert: string;
declare const GCKeyPrintScreen: string;
declare const GCKeyF20: string;
declare const GCKeyF17: string;
declare const GCKeyF14: string;
declare const GCKeyF10: string;
declare const GCKeyF9: string;
declare const GCKeyF6: string;
declare const GCKeyF3: string;
declare const GCKeyF1: string;
declare const GCKeySlash: string;
declare const GCKeyPeriod: string;
declare const GCKeyComma: string;
declare const GCKeyGraveAccentAndTilde: string;
declare const GCKeyNonUSPound: string;
declare const GCKeyOpenBracket: string;
declare const GCKeyHyphen: string;
declare const GCKeyDeleteOrBackspace: string;
declare const GCKeyNine: string;
declare const GCKeyEight: string;
declare const GCKeySix: string;
declare const GCKeyFive: string;
declare const GCKeyF13: string;
declare const GCKeyOne: string;
declare const GCKeyZ: string;
declare const GCKeyW: string;
declare const GCKeyU: string;
declare const GCKeyT: string;
declare const GCKeyS: string;
declare const GCKeyR: string;
declare const GCKeyQ: string;
declare const GCKeyP: string;
declare const GCKeyO: string;
declare const GCKeyN: string;
declare const GCKeyM: string;
declare const GCKeyL: string;
declare const GCKeyH: string;
declare const GCKeyG: string;
declare const GCKeyC: string;
declare const GCKeyA: string;
declare const GCKeyCodeRightAlt: number;
declare const GCKeyCodeRightShift: number;
declare const GCKeyCodeRightControl: number;
declare const GCKeyCodeLeftGUI: number;
declare const GCKeyCodeLeftAlt: number;
declare const GCKeyCodeLeftControl: number;
declare const GCKeyCodeLANG9: number;
declare const GCKeyCodeLANG8: number;
declare const GCKeyCodeLANG5: number;
declare const GCKeyCodeLANG1: number;
declare const GCKeyCodeInternational5: number;
declare const GCKeyCodeInternational3: number;
declare const GCKeyCodeInternational2: number;
declare const GCKeyCodeApplication: number;
declare const GCKeyCodeNonUSBackslash: number;
declare const GCKeyCodeKeypadPeriod: number;
declare const GCKeyCodeKeypad8: number;
declare const GCKeyCodeKeypad3: number;
declare const GCKeyCodeKeypad2: number;
declare const GCKeyCodeKeypad1: number;
declare const GCKeyCodeKeypadEnter: number;
declare const GCKeyCodeKeypadHyphen: number;
declare const GCKeyCodePageUp: number;
declare const GCKeyCodePause: number;
declare const GCKeyCodeScrollLock: number;
declare const GCKeyCodeF20: number;
declare const GCKeyCodeF19: number;
declare const GCKeyCodeF18: number;
declare const GCKeyCodeF17: number;
declare const GCKeyCodeF15: number;
declare const GCKeyCodeF14: number;
declare const GCKeyCodeF11: number;
declare const GCKeyCodeF10: number;
declare const GCKeyCodeF9: number;
declare const GCKeyCodeF8: number;
declare const GCKeyCodeF5: number;
declare const GCKeyCodeF1: number;
declare const GCKeyCodeSlash: number;
declare const GCKeyCodeComma: number;
declare const GCKeyCodeGraveAccentAndTilde: number;
declare const GCKeyCodeQuote: number;
declare const GCKeyCodeNonUSPound: number;
declare const GCKeyCodeBackslash: number;
declare const GCKeyCodeCloseBracket: number;
declare const GCKeyCodeEqualSign: number;
declare const GCKeyCodeHyphen: number;
declare const GCKeyCodeDeleteOrBackspace: number;
declare const GCKeyCodeEscape: number;
declare const GCKeyCodeZero: number;
declare const GCKeyCodeEight: number;
declare const GCKeyCodeSeven: number;
declare const GCKeyCodeOne: number;
declare const GCKeyCodeKeyZ: number;
declare const GCKeyCodeKeyW: number;
declare const GCKeyCodeKeyQ: number;
declare const GCKeyCodeKeyP: number;
declare const GCKeyCodeKeyO: number;
declare const GCKeyCodeKeyK: number;
declare const GCKeyCodeKeyJ: number;
declare const GCKeyCodeKeyI: number;
declare const GCKeyCodeKeyH: number;
declare const GCKeyCodeKeyF: number;
declare const GCKeyCodeKeyE: number;
declare const GCKeyCodeKeyB: number;
declare const GCKeyCodeKeyA: number;
declare const GCDualSenseAdaptiveTriggerDiscretePositionCount: number;
declare const GCInputDualShockTouchpadTwo: string;
declare const GCInputDualShockTouchpadOne: string;
declare const GCInputButtonShare: string;
declare const GCInputButtonOptions: string;
declare const GCInputButtonHome: string;
declare const GCInputLeftTrigger: string;
declare const GCKeyCodeKeypad4: number;
declare const GCInputLeftBumper: string;
declare const GCInputRightThumbstickButton: string;
declare const GCInputButtonB: string;
declare const GCProductCategoryMouse: string;
declare const GCProductCategoryCoalescedRemote: string;
declare const GCProductCategoryUniversalElectronicsRemote: string;
declare const GCProductCategorySiriRemote1stGen: string;
declare const GCProductCategoryArcadeStick: string;
declare const GCProductCategoryMFi: string;
declare const GCProductCategoryDualSense: string;
declare const GCPoint2Zero: GCPoint2;
declare const GCKeyF5: string;
declare const GCKeyLANG7: string;
declare const GCKeyF12: string;
declare const GCKeyCodeKeyT: number;
declare const GCKeyCodeLeftArrow: number;
declare const GCKeyKeypad8: string;
declare const GCKeyCodeInternational6: number;
declare const GCKeyTwo: string;
declare const GCKeyCodeSix: number;
declare const GCKeyCodeSemicolon: number;
declare const GCKeyCodeKeypadSlash: number;
declare const GCInputLeftShoulder: string;
declare const GCKeyCodeOpenBracket: number;
declare const GCKeyCodeFive: number;
declare const GCKeyCodeDeleteForward: number;
declare const GCHapticsLocalityLeftHandle: string;
declare const GCKeyF16: string;
declare const GCKeyK: string;
declare const GCKeyJ: string;
declare const GCKeyCodeKeyD: number;
declare const GCKeyCodeF12: number;
declare const GCKeyCodeLeftShift: number;
declare const GCKeyCodeF4: number;
declare const GCHapticsLocalityRightHandle: string;
declare const GCKeySemicolon: string;
declare const GCKeyboardDidDisconnectNotification: string;
declare const GCKeyCodeCapsLock: number;
declare const GCKeyCodeKeypad5: number;
declare const GCKeyKeypad3: string;
declare const GCKeyV: string;
declare const GCHapticsLocalityDefault: string;
declare const GCKeyLANG5: string;
declare const GCInputXboxPaddleFour: string;
declare const GCKeyInternational3: string;
declare const GCKeyCodeLANG6: number;
declare const GCKeyCodeKeyX: number;
declare const GCKeyCodeLANG7: number;
declare const GCInputDualShockTouchpadButton: string;
declare const GCInputMicroGamepadButtonA: string;
declare const GCCurrentExtendedGamepadSnapshotDataVersion: interop.Enum<typeof GCExtendedGamepadSnapshotDataVersion>;
declare const GCInputButtonA: string;
declare const GCKeyY: string;
declare const GCProductCategorySiriRemote2ndGen: string;
declare const GCInputRightShoulder: string;
declare const GCKeyCodeLANG2: number;
declare const GCKeyCodeF16: number;
declare const GCKeyCodeKeyG: number;
declare const GCKeyCodeF7: number;
declare const GCKeyCodePrintScreen: number;
declare const GCInputRightBumper: string;
declare const GCKeyCodeKeyR: number;
declare const GCInputDirectionalCenterButton: string;
declare const GCKeyHome: string;
declare const GCKeyCodePeriod: number;
declare const GCKeyCodeSpacebar: number;
declare const GCMouseDidBecomeCurrentNotification: string;
declare const GCProductCategoryXboxOne: string;
declare const GCKeySeven: string;
declare const GCKeyLANG2: string;
declare const GCKeyCodeKeyL: number;
declare const GCKeyScrollLock: string;
declare const GCKeyCodeKeypadPlus: number;
declare const GCKeyCodeKeypad9: number;
declare const GCInputXboxPaddleTwo: string;
declare const GCKeyCodeReturnOrEnter: number;
declare const GCKeyF4: string;
declare const GCKeyCodeKeypad0: number;
declare const GCKeyF15: string;
declare const GCKeyPower: string;
declare const GCHapticDurationInfinite: number;
declare const GCKeyKeypadPlus: string;
declare const GCKeyEscape: string;
declare const GCInputDirectionPad: string;
declare const GCInputButtonY: string;
declare const GCKeyLeftAlt: string;
declare const GCKeyCodeKeyY: number;
declare const GCKeyCodeTwo: number;
declare const GCInputLeftThumbstickButton: string;
declare const GCKeyF18: string;
declare const GCKeyCodeRightArrow: number;
declare const GCKeyQuote: string;
declare const GCKeyKeypad9: string;
declare const GCProductCategoryDualShock4: string;
declare const GCKeyCodeKeyS: number;
declare const GCKeyCodeKeyM: number;
declare const GCKeyCodeFour: number;
declare const GCKeyCodeUpArrow: number;
declare const GCKeyPageUp: string;
declare const GCInputButtonX: string;
declare const GCKeyCodeKeyN: number;
declare const GCKeyKeypadHyphen: string;
declare const GCKeyF19: string;
declare const GCKeyInternational8: string;
declare const GCKeyInternational2: string;
declare const GCKeyBackslash: string;
declare const GCKeyTab: string;
declare const GCKeyCodeF2: number;
declare const GCKeyCodeKeypadAsterisk: number;
declare const GCKeyCodeInternational8: number;
declare const GCInputLeftThumbstick: string;
declare const GCKeyCodeEnd: number;
declare const GCProductCategoryControlCenterRemote: string;
declare const GCInputXboxPaddleThree: string;
declare const GCKeyCodeKeypad7: number;
declare const GCKeyCodeHome: number;
declare const GCKeyCodePower: number;
declare const GCKeyEqualSign: string;
declare const GCKeyKeypadEqualSign: string;
declare const GCKeyLANG1: string;
declare const GCInputXboxPaddleOne: string;
declare const GCKeyD: string;
declare const GCKeyCodeInternational1: number;
declare const GCKeyInternational7: string;
declare const GCKeyCodeKeyU: number;
declare const GCKeyF: string;
declare const GCKeyCodeLANG3: number;
declare const GCKeyKeypad0: string;
declare const GCKeyKeypad2: string;
declare const GCKeyF11: string;
declare const GCProductCategoryKeyboard: string;
declare const GCKeyI: string;
declare const GCKeyCodeInsert: number;
declare const GCKeyCodeTab: number;
declare const GCKeyReturnOrEnter: string;
declare const GCInputDirectionalTouchSurfaceButton: string;
declare const GCKeyX: string;
declare const GCKeyCodeKeypadEqualSign: number;
declare const GCCurrentMicroGamepadSnapshotDataVersion: interop.Enum<typeof GCMicroGamepadSnapshotDataVersion>;
declare const GCProductCategoryHID: string;
declare const GCKeyZero: string;
declare const GCKeyCapsLock: string;
declare const GCHapticsLocalityRightTrigger: string;
declare const GCKeyCodeLANG4: number;
declare const GCKeyCodeRightGUI: number;
declare const GCKeyCodePageDown: number;
declare const GCKeyF2: string;
declare const GCKeyThree: string;
declare const GCInputMicroGamepadButtonX: string;
declare const GCKeyCodeF6: number;
declare const GCKeySpacebar: string;
declare const GCKeyCloseBracket: string;
declare const GCKeyF8: string;
declare const GCKeyCodeInternational7: number;
declare const GCExtendedGamepadSnapshotDataVersion: {
Version1: 256,
Version2: 257,
};
declare const GCDualSenseAdaptiveTriggerStatus: {
Unknown: -1,
FeedbackNoLoad: 0,
FeedbackLoadApplied: 1,
WeaponReady: 2,
WeaponFiring: 3,
WeaponFired: 4,
VibrationNotVibrating: 5,
VibrationIsVibrating: 6,
SlopeFeedbackReady: 7,
SlopeFeedbackApplyingLoad: 8,
SlopeFeedbackFinished: 9,
};
declare const GCTouchState: {
Up: 0,
Down: 1,
Moving: 2,
};
declare const GCSystemGestureState: {
Enabled: 0,
AlwaysReceive: 1,
Disabled: 2,
};
declare const GCDeviceBatteryState: {
Unknown: -1,
Discharging: 0,
Charging: 1,
Full: 2,
};
declare const GCDevicePhysicalInputElementChange: {
UnknownChange: -1,
NoChange: 0,
Changed: 1,
};
declare const GCPhysicalInputSourceDirection: {
NotApplicable: 0,
Up: 1,
Right: 2,
Down: 4,
Left: 8,
};
declare const GCUIEventTypes: {
None: 0,
Gamepad: 1,
};
declare const GCDualSenseAdaptiveTriggerMode: {
Off: 0,
Feedback: 1,
Weapon: 2,
Vibration: 3,
SlopeFeedback: 4,
};
declare const GCMicroGamepadSnapshotDataVersion: {
GCMicroGamepadSnapshotDataVersion1: 256,
};
declare const GCControllerPlayerIndex: {
IndexUnset: -1,
Index1: 0,
Index2: 1,
Index3: 2,
Index4: 3,
};
declare class GCMicroGamepadSnapshotData {
constructor(init?: GCMicroGamepadSnapshotData);
version: number;
size: number;
dpadX: number;
dpadY: number;
buttonA: number;
buttonX: number;
}
declare class GCExtendedGamepadSnapShotDataV100 {
constructor(init?: GCExtendedGamepadSnapShotDataV100);
version: number;
size: number;
dpadX: number;
dpadY: number;
buttonA: number;
buttonB: number;
buttonX: number;
buttonY: number;
leftShoulder: number;
rightShoulder: number;
leftThumbstickX: number;
leftThumbstickY: number;
rightThumbstickX: number;
rightThumbstickY: number;
leftTrigger: number;
rightTrigger: number;
}
declare class GCExtendedGamepadSnapshotData {
constructor(init?: GCExtendedGamepadSnapshotData);
version: number;
size: number;
dpadX: number;
dpadY: number;
buttonA: number;
buttonB: number;
buttonX: number;
buttonY: number;
leftShoulder: number;
rightShoulder: number;
leftThumbstickX: number;
leftThumbstickY: number;
rightThumbstickX: number;
rightThumbstickY: number;
leftTrigger: number;
rightTrigger: number;
supportsClickableThumbsticks: boolean;
leftThumbstickButton: boolean;
rightThumbstickButton: boolean;
}
declare class GCRotationRate {
constructor(init?: GCRotationRate);
x: number;
y: number;
z: number;
}
declare class GCAcceleration {
constructor(init?: GCAcceleration);
x: number;
y: number;
z: number;
}
declare class GCDualSenseAdaptiveTriggerPositionalResistiveStrengths {
constructor(init?: GCDualSenseAdaptiveTriggerPositionalResistiveStrengths);
values: unknown /* const array */;
}
declare class GCPoint2 {
constructor(init?: GCPoint2);
x: number;
y: number;
}
declare class GCQuaternion {
constructor(init?: GCQuaternion);
x: number;
y: number;
z: number;
w: number;
}
declare class GCGamepadSnapShotDataV100 {
constructor(init?: GCGamepadSnapShotDataV100);
version: number;
size: number;
dpadX: number;
dpadY: number;
buttonA: number;
buttonB: number;
buttonX: number;
buttonY: number;
leftShoulder: number;
rightShoulder: number;
}
declare class GCDualSenseAdaptiveTriggerPositionalAmplitudes {
constructor(init?: GCDualSenseAdaptiveTriggerPositionalAmplitudes);
values: unknown /* const array */;
}
declare class GCMicroGamepadSnapShotDataV100 {
constructor(init?: GCMicroGamepadSnapShotDataV100);
version: number;
size: number;
dpadX: number;
dpadY: number;
buttonA: number;
buttonX: number;
}
declare class GCEulerAngles {
constructor(init?: GCEulerAngles);
pitch: number;
yaw: number;
roll: number;
}
declare function NSStringFromGCPoint2(point: GCPoint2): string;
declare function GCInputBackLeftButton(position: number): string;
declare function GCInputBackRightButton(position: number): string;
declare function GCInputArcadeButtonName(row: number, column: number): string;
declare function GCGamepadSnapShotDataV100FromNSData(snapshotData: interop.PointerConvertible, data: NSData): boolean;
declare function NSDataFromGCGamepadSnapShotDataV100(snapshotData: interop.PointerConvertible): NSData;
declare function GCExtendedGamepadSnapshotDataFromNSData(snapshotData: interop.PointerConvertible, data: NSData): boolean;
declare function NSDataFromGCExtendedGamepadSnapshotData(snapshotData: interop.PointerConvertible): NSData;
declare function GCExtendedGamepadSnapShotDataV100FromNSData(snapshotData: interop.PointerConvertible, data: NSData): boolean;
declare function NSDataFromGCExtendedGamepadSnapShotDataV100(snapshotData: interop.PointerConvertible): NSData;
declare function GCMicroGamepadSnapshotDataFromNSData(snapshotData: interop.PointerConvertible, data: NSData): boolean;
declare function NSDataFromGCMicroGamepadSnapshotData(snapshotData: interop.PointerConvertible): NSData;
declare function GCMicroGamepadSnapShotDataV100FromNSData(snapshotData: interop.PointerConvertible, data: NSData): boolean;
declare function NSDataFromGCMicroGamepadSnapShotDataV100(snapshotData: interop.PointerConvertible): NSData;
declare interface GCAxis2DInput extends NSObjectProtocol {
valueDidChangeHandler: (p1: GCPhysicalInputElement, p2: GCAxis2DInput, p3: GCPoint2) => void;
readonly value: GCPoint2;
readonly isAnalog: boolean;
readonly canWrap: boolean;
readonly lastValueTimestamp: number;
readonly lastValueLatency: number;
readonly sources: NSSet;
}
declare class GCAxis2DInput extends NativeObject implements GCAxis2DInput {
}
declare interface GCSwitchPositionInput extends NSObjectProtocol {
positionDidChangeHandler: (p1: GCPhysicalInputElement, p2: GCSwitchPositionInput, p3: number) => void;
readonly position: number;
readonly positionRange: _NSRange;
readonly isSequential: boolean;
readonly canWrap: boolean;
readonly lastPositionTimestamp: number;
readonly lastPositionLatency: number;
readonly sources: NSSet;
}
declare class GCSwitchPositionInput extends NativeObject implements GCSwitchPositionInput {
}
declare interface GCButtonElement extends GCPhysicalInputElement {
readonly pressedInput: GCLinearInput;
readonly touchedInput: GCTouchedStateInput;
}
declare class GCButtonElement extends NativeObject implements GCButtonElement {
}
declare interface GCPressedStateInput extends NSObjectProtocol {
pressedDidChangeHandler: (p1: GCPhysicalInputElement, p2: GCPressedStateInput, p3: boolean) => void;
readonly isPressed: boolean;
readonly lastPressedStateTimestamp: number;
readonly lastPressedStateLatency: number;
readonly sources: NSSet;
}
declare class GCPressedStateInput extends NativeObject implements GCPressedStateInput {
}
declare interface GCAxisElementName extends GCPhysicalInputElementName {
}
declare class GCAxisElementName extends NativeObject implements GCAxisElementName {
}
declare interface GCButtonElementName extends GCPhysicalInputElementName {
}
declare class GCButtonElementName extends NativeObject implements GCButtonElementName {
}
declare interface GCPhysicalInputElementName {
}
declare class GCPhysicalInputElementName extends NativeObject implements GCPhysicalInputElementName {
}
declare interface GCDevice extends NSObjectProtocol {
handlerQueue: NSObject;
readonly vendorName: string;
readonly productCategory: string;
readonly physicalInputProfile: GCPhysicalInputProfile;
}