Skip to content

GameController macOS xcode26.2 b1

Alex Soto edited this page Nov 5, 2025 · 1 revision

#GameController.framework

diff -ruN /Applications/Xcode_26.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCLinearInput.h /Applications/Xcode_26.2.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCLinearInput.h
--- /Applications/Xcode_26.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCLinearInput.h	2025-10-11 04:22:30
+++ /Applications/Xcode_26.2.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCLinearInput.h	2025-10-24 11:19:31
@@ -9,8 +9,8 @@
 
 @protocol GCPhysicalInputElement;
 @protocol GCPhysicalInputSource;
+@protocol GCPhysicalInputExtents;
 
-
 NS_ASSUME_NONNULL_BEGIN
 
 /**
@@ -76,6 +76,11 @@
  */
 @property (readonly) NSTimeInterval lastValueLatency;
 
+/**
+ An object describing the physical extents of the input, if the input represents
+ a physical unit of measurement.
+ */
+@property (readonly, nullable) id<GCPhysicalInputExtents> physicalExtents API_AVAILABLE(macos(26.2), ios(26.2), tvos(26.2), visionos(26.2));
 
 
 /**
diff -ruN /Applications/Xcode_26.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPhysicalInputExtents.h /Applications/Xcode_26.2.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPhysicalInputExtents.h
--- /Applications/Xcode_26.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPhysicalInputExtents.h	2025-10-11 04:22:29
+++ /Applications/Xcode_26.2.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPhysicalInputExtents.h	2025-10-24 11:19:32
@@ -9,4 +9,28 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+/**
+ *  Physical extents scale the normalized value reported by `GCLinearInput`
+ *  into physical units.
+ */
+API_AVAILABLE(macos(26.2), ios(26.2), tvos(26.2), visionos(26.2))
+@protocol GCPhysicalInputExtents <NSObject>
+
+/**
+ *  The value of the input, scaled into physical units.
+ */
+@property (readonly) double scaledValue;
+
+/**
+ *  The minimum value for the physical extent of the input.
+ */
+@property (readonly) double minimumValue;
+
+/**
+ *  The maximum value for the physical extent of the input.
+ */
+@property (readonly) double maximumValue;
+
+@end
+
 NS_ASSUME_NONNULL_END
Clone this wiki locally