Skip to content

Commit 605d66e

Browse files
authored
[GameController] Update bindings to Xcode 26.0 Beta 1 - 4 (#23476)
1 parent 043a04c commit 605d66e

File tree

5 files changed

+29
-28
lines changed

5 files changed

+29
-28
lines changed

src/gamecontroller.cs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,6 +1394,22 @@ interface GCInput {
13941394
[Field ("GCInputRightThumbstickButton")]
13951395
NSString RightThumbstickButton { get; }
13961396

1397+
[MacCatalyst (26, 0), TV (26, 0), Mac (26, 0), iOS (26, 0)]
1398+
[Field ("GCInputGripButton")]
1399+
NSString GripButton { get; }
1400+
1401+
[MacCatalyst (26, 0), TV (26, 0), Mac (26, 0), iOS (26, 0)]
1402+
[Field ("GCInputThumbstick")]
1403+
NSString Thumbstick { get; }
1404+
1405+
[MacCatalyst (26, 0), TV (26, 0), Mac (26, 0), iOS (26, 0)]
1406+
[Field ("GCInputThumbstickButton")]
1407+
NSString ThumbstickButton { get; }
1408+
1409+
[MacCatalyst (26, 0), TV (26, 0), Mac (26, 0), iOS (26, 0)]
1410+
[Field ("GCInputTrigger")]
1411+
NSString Trigger { get; }
1412+
13971413
[Field ("GCInputButtonHome")]
13981414
NSString ButtonHome { get; }
13991415

@@ -2696,6 +2712,10 @@ interface GCProductCategory {
26962712
[TV (17, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)]
26972713
[Field ("GCProductCategoryArcadeStick")]
26982714
NSString ArcadeStick { get; }
2715+
2716+
[MacCatalyst (26, 0), TV (26, 0), Mac (26, 0), iOS (26, 0)]
2717+
[Field ("GCProductCategorySpatialController")]
2718+
NSString SpatialController { get; }
26992719
}
27002720

27012721
[NoiOS, Mac (13, 0), NoTV, MacCatalyst (16, 0)]
@@ -2896,6 +2916,11 @@ interface GCButtonElement : GCPhysicalInputElement {
28962916
[Abstract]
28972917
[NullAllowed, Export ("touchedInput")]
28982918
IGCTouchedStateInput TouchedInput { get; }
2919+
2920+
[MacCatalyst (26, 0), TV (26, 0), Mac (26, 0), iOS (26, 0)]
2921+
[Abstract]
2922+
[NullAllowed, Export ("forceInput")]
2923+
IGCLinearInput ForceInput { get; }
28992924
}
29002925

29012926
delegate void ElementValueDidChangeHandler (IGCDevicePhysicalInput physicalInput, IGCPhysicalInputElement element);
@@ -3218,6 +3243,10 @@ interface GCEventInteraction : UIInteraction {
32183243

32193244
[Export ("handledEventTypes")]
32203245
GCUIEventTypes HandledEventTypes { get; set; }
3246+
3247+
[MacCatalyst (26, 0), iOS (26, 0)]
3248+
[Export ("receivesEventsInView")]
3249+
bool ReceivesEventsInView { get; set; }
32213250
}
32223251
#endif // IOS || MACCATALYST
32233252

tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-GameController.todo

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/iOS-GameController.todo

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/macOS-GameController.todo

Lines changed: 0 additions & 6 deletions
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/tvOS-GameController.todo

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)