diff --git a/src/gamecontroller.cs b/src/gamecontroller.cs index 4e53039779f..f4f95f2fd6f 100644 --- a/src/gamecontroller.cs +++ b/src/gamecontroller.cs @@ -3043,6 +3043,11 @@ interface GCLinearInput { [Abstract] [Export ("sources", ArgumentSemantic.Copy)] NSSet Sources { get; } + + [TV (26, 2), Mac (26, 2), iOS (26, 2), MacCatalyst (26, 2)] + [Abstract] + [NullAllowed, Export ("physicalExtents")] + IGCPhysicalInputExtents PhysicalExtents { get; } } interface IGCPhysicalInputElement { } @@ -3368,4 +3373,23 @@ partial interface NSValue { [Export ("GCPoint2Value")] GCPoint2 GCPoint2Value { get; } } + + interface IGCPhysicalInputExtents { } + + [TV (26, 2), Mac (26, 2), iOS (26, 2), MacCatalyst (26, 2)] + [Protocol (BackwardsCompatibleCodeGeneration = false)] + interface GCPhysicalInputExtents { + + [Abstract] + [Export ("scaledValue")] + double ScaledValue { get; } + + [Abstract] + [Export ("minimumValue")] + double MinimumValue { get; } + + [Abstract] + [Export ("maximumValue")] + double MaximumValue { get; } + } } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 29404ad4b3a..f4606feb0b4 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -21075,6 +21075,9 @@ P:FileProvider.NSFileProviderRequest.IsSystemRequest P:FileProvider.NSFileProviderRequest.RequestingExecutable P:FileProvider.NSFileProviderStringSearchRequest.DesiredNumberOfResults P:FileProvider.NSFileProviderStringSearchRequest.Query +P:Foundation.IGCPhysicalInputExtents.MaximumValue +P:Foundation.IGCPhysicalInputExtents.MinimumValue +P:Foundation.IGCPhysicalInputExtents.ScaledValue P:Foundation.INSObjectProtocol.DebugDescription P:Foundation.INSProgressReporting.Progress P:Foundation.NSArchiveReplaceEventArgs.NewObject @@ -21433,6 +21436,7 @@ P:GameController.IGCLinearInput.Analog P:GameController.IGCLinearInput.CanWrap P:GameController.IGCLinearInput.LastValueLatency P:GameController.IGCLinearInput.LastValueTimestamp +P:GameController.IGCLinearInput.PhysicalExtents P:GameController.IGCLinearInput.Sources P:GameController.IGCLinearInput.Value P:GameController.IGCLinearInput.ValueDidChangeHandler diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-GameController.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-GameController.todo deleted file mode 100644 index 3b7da75153b..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-GameController.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-protocol! GCPhysicalInputExtents not bound -!missing-protocol-member! GCLinearInput::physicalExtents not found diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-GameController.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-GameController.todo deleted file mode 100644 index 3b7da75153b..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-GameController.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-protocol! GCPhysicalInputExtents not bound -!missing-protocol-member! GCLinearInput::physicalExtents not found diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-GameController.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-GameController.todo deleted file mode 100644 index 3b7da75153b..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-GameController.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-protocol! GCPhysicalInputExtents not bound -!missing-protocol-member! GCLinearInput::physicalExtents not found diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-GameController.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-GameController.todo deleted file mode 100644 index 3b7da75153b..00000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-GameController.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-protocol! GCPhysicalInputExtents not bound -!missing-protocol-member! GCLinearInput::physicalExtents not found