Skip to content

GameController tvOS xcode14.1 b1

Israel Soto edited this page Sep 22, 2022 · 3 revisions

#GameController.framework https://github.com/xamarin/xamarin-macios/pull/16094

diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCAxisElement.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCAxisElement.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCAxisElement.h	2022-08-06 03:26:31.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCAxisElement.h	2022-09-09 02:07:24.000000000 -0400
@@ -11,7 +11,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCAxisElement <GCPhysicalInputElement>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCAxisInput.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCAxisInput.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCAxisInput.h	2022-08-06 03:26:30.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCAxisInput.h	2022-09-09 02:07:23.000000000 -0400
@@ -16,7 +16,7 @@
  normalized values - between [-1, 1] - along an axis with a fixed origin.
  The origin - a value of 0 - corresponds the neutral state of the input.
  */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCAxisInput <NSObject>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCButtonElement.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCButtonElement.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCButtonElement.h	2022-08-06 03:26:31.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCButtonElement.h	2022-09-09 02:07:24.000000000 -0400
@@ -18,7 +18,7 @@
  interacting with it, and then returns to a preferred state (not pressed, not
  touched).
  */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCButtonElement <GCPhysicalInputElement>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevicePhysicalInput.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevicePhysicalInput.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevicePhysicalInput.h	2022-08-05 16:55:13.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevicePhysicalInput.h	2022-09-09 11:36:43.000000000 -0400
@@ -19,7 +19,7 @@
  methods for accessing common physical elements - buttons, thumbsticks, dpads,
  etc - of a device.
 */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCDevicePhysicalInput <GCDevicePhysicalInputState>
 
 /**
@@ -45,7 +45,7 @@
  @param element
  The element that has been modified.
  */
-@property (copy, nullable) void (^elementValueDidChangeHandler)(__kindof id<GCPhysicalInputElement> element);
+@property (copy, nullable) void (^elementValueDidChangeHandler)(__kindof id<GCDevicePhysicalInput> physicalInput, __kindof id<GCPhysicalInputElement> element);
 
 /**
  Polls the current state vector of the physical input and saves it to a new
@@ -67,7 +67,7 @@
  drain the pending input states from the queue.
  
     physicalInput.inputStateQueueDepth = 20;
-    physicalInput.inputStateAvailableHandler = ^{
+    physicalInput.inputStateAvailableHandler = ^(__kindof id<GCDevicePhysicalInput> physicalInput) {
         id<GCDevicePhysicalInputState, GCDevicePhysicalInputStateDiff> nextInputState;
         while ((nextInputState = [physicalInput nextInputState])) {
  
@@ -94,7 +94,7 @@
         }
     };
  */
-@property (copy, nullable) void (^inputStateAvailableHandler)(void);
+@property (copy, nullable) void (^inputStateAvailableHandler)(__kindof id<GCDevicePhysicalInput> physicalInput);
 
 /**
  The maximum number of input states to buffer.  If your application does not
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevicePhysicalInputState.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevicePhysicalInputState.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevicePhysicalInputState.h	2022-08-06 03:26:30.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevicePhysicalInputState.h	2022-09-09 02:07:22.000000000 -0400
@@ -24,7 +24,7 @@
  state if the same object also conforms to \c GCDevicePhysicalInput, or a
  snapshot of the physical input state.
  */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCDevicePhysicalInputState <NSObject>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevicePhysicalInputStateDiff.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevicePhysicalInputStateDiff.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevicePhysicalInputStateDiff.h	2022-08-06 03:26:30.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevicePhysicalInputStateDiff.h	2022-09-09 02:07:23.000000000 -0400
@@ -12,10 +12,13 @@
 NS_ASSUME_NONNULL_BEGIN
 
 typedef NS_ENUM(NSInteger, GCDevicePhysicalInputElementChange) {
-    /** Diff could not be determined - typically because the input state queue
-     *  filled up and older input state snapshots were dropped. */
+    /** Indicates that a change could not be determined.  This is typically
+     *  because the input state queue filled up and older input state snapshots
+     *  were dropped. */
     GCDevicePhysicalInputElementUnknownChange = -1,
+    /** Indicates that no value of the element changed. */
     GCDevicePhysicalInputElementNoChange = 0,
+    /** Indicates that a value of the element changed. */
     GCDevicePhysicalInputElementChanged = 1,
 };
 
@@ -26,7 +29,7 @@
  \c GCDevicePhysicalInputState objects returned from the \c -nextInputState
  method of \c GCDevicePhysicalInput.
  */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCDevicePhysicalInputStateDiff <NSObject>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDirectionPadElement.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDirectionPadElement.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDirectionPadElement.h	2022-08-06 03:26:30.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDirectionPadElement.h	2022-09-09 02:07:22.000000000 -0400
@@ -21,7 +21,7 @@
  Only one button in each pair, {up, down} and {left, right}, can be pressed at
  any one time.
  */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCDirectionPadElement <GCPhysicalInputElement>
 
 /** The horizontal/x-component of the dpad input. */
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCGearShifterElement.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCGearShifterElement.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCGearShifterElement.h	2022-08-06 03:26:31.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCGearShifterElement.h	2022-09-09 02:07:23.000000000 -0400
@@ -15,7 +15,7 @@
  A \c GCGearShifterElement object represents an attached gear shifter.  Both
  pattern and sequential gear shifters are supported.
  */
-API_AVAILABLE(macos(13.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @interface GCGearShifterElement : NSObject <GCPhysicalInputElement>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCInputNames.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCInputNames.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCInputNames.h	2022-08-05 16:55:12.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCInputNames.h	2022-09-09 02:09:46.000000000 -0400
@@ -95,10 +95,10 @@
 /**
 A set of strings commonly used by racing wheels.
 */
-GAMECONTROLLER_EXTERN GCInputAxisName GCInputSteeringWheel NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0));
-GAMECONTROLLER_EXTERN GCInputElementName GCInputShifter NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0));
-GAMECONTROLLER_EXTERN GCInputButtonName GCInputPedalAccelerator NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0));
-GAMECONTROLLER_EXTERN GCInputButtonName GCInputPedalBrake NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0));
-GAMECONTROLLER_EXTERN GCInputButtonName GCInputPedalClutch NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0));
-GAMECONTROLLER_EXTERN GCInputButtonName GCInputLeftPaddle NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0));
-GAMECONTROLLER_EXTERN GCInputButtonName GCInputRightPaddle NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0));
+GAMECONTROLLER_EXTERN GCInputAxisName GCInputSteeringWheel NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos);
+GAMECONTROLLER_EXTERN GCInputElementName GCInputShifter NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos);
+GAMECONTROLLER_EXTERN GCInputButtonName GCInputPedalAccelerator NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos);
+GAMECONTROLLER_EXTERN GCInputButtonName GCInputPedalBrake NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos);
+GAMECONTROLLER_EXTERN GCInputButtonName GCInputPedalClutch NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos);
+GAMECONTROLLER_EXTERN GCInputButtonName GCInputLeftPaddle NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos);
+GAMECONTROLLER_EXTERN GCInputButtonName GCInputRightPaddle NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos);
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCLinearInput.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCLinearInput.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCLinearInput.h	2022-08-06 03:26:29.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCLinearInput.h	2022-09-09 02:07:22.000000000 -0400
@@ -15,7 +15,7 @@
  An object conforming to \c GCLinearInput represents an input that produces
  normalized values in the unit interval - between [0, 1].
  */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCLinearInput <NSObject>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPhysicalInputElement.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPhysicalInputElement.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPhysicalInputElement.h	2022-08-06 03:26:31.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPhysicalInputElement.h	2022-09-09 02:07:24.000000000 -0400
@@ -13,7 +13,7 @@
  The \c GCPhysicalInputElement protocol is a base protocol for specific types
  of elements that represent controls on a device.
  */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCPhysicalInputElement <NSObject>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPressedStateInput.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPressedStateInput.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPressedStateInput.h	2022-08-06 03:26:30.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPressedStateInput.h	2022-09-09 02:07:22.000000000 -0400
@@ -15,7 +15,7 @@
  An object conforming to \c GCPressedStateInput represents the pressed state of
  an element, typically a button.
  */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCPressedStateInput <NSObject>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCRacingWheel.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCRacingWheel.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCRacingWheel.h	2022-08-06 03:26:30.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCRacingWheel.h	2022-09-09 02:07:22.000000000 -0400
@@ -32,11 +32,11 @@
  @see NSNotificationCenter
  @see GCRacingWheel.connectedRacingWheels
  */
-GAMECONTROLLER_EXTERN NSString *const GCRacingWheelDidConnectNotification API_AVAILABLE(macos(13.0));
-GAMECONTROLLER_EXTERN NSString *const GCRacingWheelDidDisconnectNotification API_AVAILABLE(macos(13.0));
+GAMECONTROLLER_EXTERN NSString *const GCRacingWheelDidConnectNotification API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos);
+GAMECONTROLLER_EXTERN NSString *const GCRacingWheelDidDisconnectNotification API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos);
 
 
-API_AVAILABLE(macos(13.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @interface GCRacingWheel : NSObject <GCDevice>
 
 - (instancetype)init NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCRacingWheelInput.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCRacingWheelInput.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCRacingWheelInput.h	2022-08-06 03:26:31.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCRacingWheelInput.h	2022-09-09 02:07:23.000000000 -0400
@@ -14,7 +14,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-API_AVAILABLE(macos(13.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @interface GCRacingWheelInputState : NSObject <GCDevicePhysicalInputState>
 
 /** The steering wheel element. */
@@ -40,7 +40,7 @@
 
 
 
-API_AVAILABLE(macos(13.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @interface GCRacingWheelInput : GCRacingWheelInputState <GCDevicePhysicalInput>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCRelativeInput.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCRelativeInput.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCRelativeInput.h	2022-08-06 03:26:30.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCRelativeInput.h	2022-09-09 02:07:23.000000000 -0400
@@ -17,7 +17,7 @@
  Relative inputs have no fixed origin from which a coordinate syatem can be
  defined.
  */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCRelativeInput <NSObject>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCSteeringWheelElement.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCSteeringWheelElement.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCSteeringWheelElement.h	2022-08-06 03:26:31.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCSteeringWheelElement.h	2022-09-09 02:07:23.000000000 -0400
@@ -10,7 +10,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-API_AVAILABLE(macos(13.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @interface GCSteeringWheelElement : NSObject <GCAxisElement>
 
 - (instancetype)init NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCSwitchElement.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCSwitchElement.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCSwitchElement.h	2022-08-06 03:26:31.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCSwitchElement.h	2022-09-09 02:07:24.000000000 -0400
@@ -15,7 +15,7 @@
  A switch may be in one of several positions, and remains in its last position
  after the user stops interacting with it.
  */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCSwitchElement <GCPhysicalInputElement>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCSwitchPositionInput.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCSwitchPositionInput.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCSwitchPositionInput.h	2022-08-06 03:26:31.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCSwitchPositionInput.h	2022-09-09 02:07:24.000000000 -0400
@@ -9,7 +9,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCSwitchPositionInput <NSObject>
 
 /**
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCTouchedStateInput.h /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCTouchedStateInput.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCTouchedStateInput.h	2022-08-06 03:26:31.000000000 -0400
+++ /Applications/Xcode_14.1.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/GameController.framework/Headers/GCTouchedStateInput.h	2022-09-09 02:07:23.000000000 -0400
@@ -19,7 +19,7 @@
  the button without pressing it.  In such cases, a button can be touched without
  being pressed.
  */
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0))
+API_AVAILABLE(macos(13.0), macCatalyst(16.0)) API_UNAVAILABLE(ios, tvos)
 @protocol GCTouchedStateInput <NSObject>
 
 /**
Clone this wiki locally