Skip to content

GameController macOS xcode13.0 rc

Alex Soto edited this page Sep 14, 2021 · 1 revision

#GameController.framework

diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDirectionalGamepad.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDirectionalGamepad.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDirectionalGamepad.h	2021-08-07 05:20:42.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDirectionalGamepad.h	2021-08-03 21:49:31.000000000 -0400
@@ -15,35 +15,15 @@
  The primary directional input surface for the directional gamepad
  
  @note Equivalent to microgamepad.dpad
- 
- @note For the 2021 2nd generation Siri Remote, this represents touching anywhere on the entire touch surface - including the inner and outer rings.
 */
 GAMECONTROLLER_EXTERN NSString *const GCInputDirectionalDpad API_AVAILABLE(macos(11.3), ios(14.5), tvos(14.5));
 
 /**
- The button corresponding to pressing anywhere on the primary directional input surface for the directional gamepad
- 
- @note Equivalent to microgamepad.buttonA
- 
- @note For the 2021 2nd generation Siri Remote, this represents pressing anywhere the entire touch surface - including the inner and outer rings.
-*/
-GAMECONTROLLER_EXTERN NSString *const GCInputDirectionalTouchSurfaceButton API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
-
-/**
  An optional secondary directional input surface for the directional gamepad. This input is guaranteed to be an 8-way digital dpad with physical Up, Down, Left, Right butttons.
- 
- @note For the 2021 2nd generation Siri Remote, this represents pressing on the outer ring of the touch surface.
 */
 GAMECONTROLLER_EXTERN NSString *const GCInputDirectionalCardinalDpad API_AVAILABLE(macos(11.3), ios(14.5), tvos(14.5));
 
 /**
- An optional button for the directional gamepad. This input represents the center button of the cardinal dpad.
- 
- @note For the 2021 2nd generation Siri Remote, this represents pressing anywhere on the inner ring of the touch surface.
-*/
-GAMECONTROLLER_EXTERN NSString *const GCInputDirectionalCenterButton API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
-
-/**
  Directional Gamepad profile.
  
  All controller profiles provide a base level of information about the controller they belong to. A directional gamepad
@@ -64,8 +44,6 @@
  @see GCMicroGamepad
  
  @note If you want to use the additional functionality of GCDirectionalGamepad, you should set GCSupportsMultipleMicroGamepads to YES and handle microgamepad connections separately.
- 
- @note This profile represents the 2021 2nd generation Siri Remote. Make sure you set GCSupportsMultipleMicroGamepads to YES to properly support the remote.
  */
 API_AVAILABLE(macos(11.1), ios(14.3), tvos(14.3))
 @interface GCDirectionalGamepad : GCMicroGamepad
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCInputNames.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCInputNames.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCInputNames.h	2021-08-07 05:20:42.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCInputNames.h	2021-08-03 21:49:30.000000000 -0400
@@ -37,7 +37,6 @@
 GAMECONTROLLER_EXTERN NSString *const GCInputButtonHome API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 GAMECONTROLLER_EXTERN NSString *const GCInputButtonMenu API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 GAMECONTROLLER_EXTERN NSString *const GCInputButtonOptions API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
-GAMECONTROLLER_EXTERN NSString *const GCInputButtonShare API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
 
 /**
 A set of strings commonly used to access Xbox buttons
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCKeyCodes.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCKeyCodes.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCKeyCodes.h	2021-08-07 08:50:36.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCKeyCodes.h	2021-08-03 21:49:30.000000000 -0400
@@ -87,14 +87,6 @@
 GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodeF10 API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));                         /* F10 */
 GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodeF11 API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));                         /* F11 */
 GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodeF12 API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));                         /* F12 */
-GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodeF13 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F13 */
-GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodeF14 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F14 */
-GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodeF15 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F15 */
-GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodeF16 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F16 */
-GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodeF17 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F17 */
-GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodeF18 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F18 */
-GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodeF19 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F19 */
-GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodeF20 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F20 */
 
 GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodePrintScreen API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));                 /* Print Screen */
 GAMECONTROLLER_EXTERN GCKeyCode const GCKeyCodeScrollLock API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));                  /* Scroll Lock */
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCKeyNames.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCKeyNames.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCKeyNames.h	2021-08-07 05:20:43.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCKeyNames.h	2021-08-03 21:49:32.000000000 -0400
@@ -86,14 +86,6 @@
 GAMECONTROLLER_EXTERN NSString *const GCKeyF10 API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));                         /* F10 */
 GAMECONTROLLER_EXTERN NSString *const GCKeyF11 API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));                         /* F11 */
 GAMECONTROLLER_EXTERN NSString *const GCKeyF12 API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));                         /* F12 */
-GAMECONTROLLER_EXTERN NSString *const GCKeyF13 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F13 */
-GAMECONTROLLER_EXTERN NSString *const GCKeyF14 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F14 */
-GAMECONTROLLER_EXTERN NSString *const GCKeyF15 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F15 */
-GAMECONTROLLER_EXTERN NSString *const GCKeyF16 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F16 */
-GAMECONTROLLER_EXTERN NSString *const GCKeyF17 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F17 */
-GAMECONTROLLER_EXTERN NSString *const GCKeyF18 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F18 */
-GAMECONTROLLER_EXTERN NSString *const GCKeyF19 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F19 */
-GAMECONTROLLER_EXTERN NSString *const GCKeyF20 API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));                         /* F20 */
 GAMECONTROLLER_EXTERN NSString *const GCKeyPrintScreen API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));                 /* Print Screen */
 GAMECONTROLLER_EXTERN NSString *const GCKeyScrollLock API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));                  /* Scroll Lock */
 GAMECONTROLLER_EXTERN NSString *const GCKeyPause API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));                       /* Pause */
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCMicroGamepad.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCMicroGamepad.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCMicroGamepad.h	2021-08-07 05:23:23.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCMicroGamepad.h	2021-08-03 21:49:29.000000000 -0400
@@ -18,43 +18,6 @@
 @class GCControllerButtonInput;
 
 /**
- The primary directional input surface for the directional gamepad
- 
- @note Equivalent to microgamepad.dpad
- 
- @note For the 1st generation and 2nd generation Siri Remotes, this represents touching anywhere on the entire touch surface.
-*/
-GAMECONTROLLER_EXTERN NSString *const GCInputMicroGamepadDpad API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
-
-/**
- The primary button for the microgamepad
- 
- @note For the 1st generation and 2nd generation Siri Remotes, this represents pressing anywhere on the touch surface.
-*/
-GAMECONTROLLER_EXTERN NSString *const GCInputMicroGamepadButtonA API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
-
-/**
- The secondary button for the microgamepad
- 
- @note Equivalent to microgamepad.buttonX
- 
- @note For the 1st and 2nd generation Siri Remotes, this represents pressing the play/pause button.
-*/
-GAMECONTROLLER_EXTERN NSString *const GCInputMicroGamepadButtonX API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
-
-/**
- The primary menu button for the microgamepad
- 
- @note Equivalent to microgamepad.buttonMenu
- 
- @note For the 1st generation Siri Remote, this represents pressing the play/pause button. For the 2nd generation Siri Remote, this represents pressing the back button.
- 
- @note You should avoid polling this button every frame. tvOS will run a gesture recognizer on events before forwarding them to your application that can reduce the window
-    to poll button changes. Instead, register a pressedChangedHandler or a valueChangedHandler.
-*/
-GAMECONTROLLER_EXTERN NSString *const GCInputMicroGamepadButtonMenu API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
-
-/**
  Micro Gamepad profile.
  
  All controller profiles provide a base level of information about the controller they belong to.
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPhysicalInputProfile.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPhysicalInputProfile.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPhysicalInputProfile.h	2021-08-09 03:24:43.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCPhysicalInputProfile.h	2021-08-03 21:53:12.000000000 -0400
@@ -11,13 +11,11 @@
 @class GCControllerButtonInput;
 @class GCControllerAxisInput;
 @class GCControllerDirectionPad;
-@class GCControllerTouchpad;
 
 @compatibility_alias GCDeviceElement GCControllerElement;
 @compatibility_alias GCDeviceButtonInput GCControllerButtonInput;
 @compatibility_alias GCDeviceAxisInput GCControllerAxisInput;
 @compatibility_alias GCDeviceDirectionPad GCControllerDirectionPad;
-@compatibility_alias GCDeviceTouchpad GCControllerTouchpad;
 
 #import <Foundation/Foundation.h>
 
@@ -45,13 +43,6 @@
 @property (atomic, readonly) NSTimeInterval lastEventTimestamp API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 
 /**
- Whether the user has remapped their physical input controls for this profile at the system level.
- 
- @discussion On iOS and tvOS, users can remap their game controller inputs in Settings.
- */
-@property (nonatomic, readonly) BOOL hasRemappedElements API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
-
-/**
  The following properties allow for runtime lookup of any input element on a profile, when provided with a valid alias.
 
  @example extendedGamepad.elements["Button A"] == extendedGamepad.buttonA // YES
@@ -62,7 +53,6 @@
 @property (nonatomic, readonly, strong) NSDictionary<NSString *, GCDeviceButtonInput *> *buttons API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 @property (nonatomic, readonly, strong) NSDictionary<NSString *, GCDeviceAxisInput *> *axes API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 @property (nonatomic, readonly, strong) NSDictionary<NSString *, GCDeviceDirectionPad *> *dpads API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
-@property (nonatomic, readonly, strong) NSDictionary<NSString *, GCDeviceTouchpad *> *touchpads API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 
 /**
  The following properties allow for dynamic querying of the input elements available on a profile.
@@ -71,7 +61,6 @@
 @property (nonatomic, readonly, strong) NSSet<GCDeviceButtonInput *> *allButtons API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 @property (nonatomic, readonly, strong) NSSet<GCDeviceAxisInput *> *allAxes API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 @property (nonatomic, readonly, strong) NSSet<GCDeviceDirectionPad *> *allDpads API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
-@property (nonatomic, readonly, strong) NSSet<GCDeviceTouchpad *> *allTouchpads API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 
 /**
  Profile elements can be accessed using keyed subscript notation, with a valid alias of its inputs.
@@ -101,34 +90,6 @@
  */
 - (void)setStateFromPhysicalInput:(GCPhysicalInputProfile *)physicalInput API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 
-/**
- Returns the primary alias of the GCControllerElement that a given physical input maps to.
- 
- @discussion If the user were to map a physical press of the A button of their game controller to the B button, then
-    -[GCPhysicalInputProfile  mappedElementAliasForPhysicalInputName: GCInputButtonA] would return GCInputButtonB.
-    Note that mappings can change anytime your app is backgrounded, so make sure you update any relevant visuals when
-    returning to foreground.
- 
- @param inputName A GCInput string corresponding to the physical button you want the mapped element alias for.
- 
- @returns A GCInput string corresponding to the primary alias of the GCControllerElement that a given physical button maps to, or nil if there is no mapping.
- */
-- (NSString *)mappedElementAliasForPhysicalInputName:(NSString *)inputName API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
-
-/**
- Returns a set of GCInput strings corresponding to physical inputs that are mapped to a given GCControllerElement.
- 
- @discussion If the user mapped the physical press of the A button, the B button, and the X button to the B button, then
-    -[GCPhysicalInputProfile mappedPhysicalInputNamesForElementAlias: GCInputButtonB] would return  [GCInputButtonA, GCInputButtonB, GCInputButtonX].
-    Note that mappings can change anytime your app is backgrounded, so make sure you update any relevant visuals when
-    returning to foreground.
- 
- @param elementAlias A GCInput string corresponding to an alias of the GCControllerElement you want the physical buttons for.
- 
- @returns A set of GCInput strings corresponding to physical inputs that are mapped to a given GCControllerElement, or an empty set if there are no mappings.
- */
-- (NSSet<NSString *> *)mappedPhysicalInputNamesForElementAlias:(NSString *)elementAlias API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
-
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCVirtualController.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCVirtualController.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCVirtualController.h	2021-08-07 05:20:41.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCVirtualController.h	1969-12-31 19:00:00.000000000 -0500
@@ -1,95 +0,0 @@
-//  
-//  GCVirtualController.h
-//  GameController
-//
-//  Copyright © 2021 Apple Inc. All rights reserved.
-//
-
-#import <TargetConditionals.h>
-
-
-#if TARGET_OS_IPHONE
-#import <GameController/GameController.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-
-
-/**
- GCVirtualControllerConfiguration
- 
-*/
-API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, tvos)
-NS_SWIFT_NAME(GCVirtualController.Configuration)
-@interface GCVirtualControllerConfiguration : NSObject
- 
-// The set of controller elements e.g. [GCInputDirectionPad, GCInputLeftShoulder,  etc...]
-@property (nonatomic, strong) NSSet<NSString *> *elements;
-   
-@end
-
-
-/**
- GCVirtualControllerElementConfiguration
- 
-*/
-API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, tvos)
-NS_SWIFT_NAME(GCVirtualController.ElementConfiguration)
-@interface GCVirtualControllerElementConfiguration : NSObject
-
-/**
- A Boolean value that determines whether the element is hidden
- */
-@property (nonatomic, getter=isHidden) BOOL hidden;
-
-/**
- Path that defines custom element image
- Only supported for button elements
- */
-@property (nonatomic, strong, nullable) UIBezierPath* path;
-
-/**
- A Boolean value that determines if the thumbstick is acting as a touchpad
- Only supported for thumbsticks
- */
-@property (nonatomic) BOOL actsAsTouchpad;
-
-@end
-
-
-
-/**
- GCVirtualController
- 
-*/
-API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, tvos)
-@interface GCVirtualController : NSObject
-
-/**
- Create a virtual controller
- 
- @see GCVirtualControllerConfiguration
- */
-+(GCVirtualController *)virtualControllerWithConfiguration:(GCVirtualControllerConfiguration *)configuration;
-
-+(instancetype)new NS_UNAVAILABLE;
--(instancetype)init NS_UNAVAILABLE;
--(instancetype)initWithConfiguration:(GCVirtualControllerConfiguration *)configuration NS_DESIGNATED_INITIALIZER;
-
--(void)connectWithReplyHandler:(void(^ _Nullable )(NSError * _Nullable error))reply NS_SWIFT_ASYNC_NAME(connect());
-
--(void)disconnect;
-
-
-/**
- GCController is only available when GCVirtualController is connected
- */
-@property (nonatomic, weak, readonly, nullable) GCController *controller;
-
--(void)updateConfigurationForElement:(NSString*)element configuration:( GCVirtualControllerElementConfiguration*(NS_NOESCAPE ^ _Nonnull )(GCVirtualControllerElementConfiguration * oldConfiguration))config ;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCXboxGamepad.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCXboxGamepad.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCXboxGamepad.h	2021-08-07 05:20:41.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GCXboxGamepad.h	2021-08-03 21:49:30.000000000 -0400
@@ -29,16 +29,4 @@
 @property (nonatomic, readonly, nullable) GCControllerButtonInput *paddleButton3;
 @property (nonatomic, readonly, nullable) GCControllerButtonInput *paddleButton4;
 
-/**
- Some Xbox controller variants feature a Share button.
- 
- @example The Bluetooth-enabled Xbox Wireless Controller introduced with the Xbox Series X and Xbox Series S in 2020
-    has a Share button.
- 
- @note The Share button is reserved by the system for screenshot and video recording gestures. If you wish to disable these
-    gestures in your app and take control of the Share button, set buttonShare.preferredSystemGestureState to
-    GCSystemGestureStateDisabled.
- */
-@property (nonatomic, readonly, nullable) GCControllerButtonInput *buttonShare API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
-
 @end
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GameController.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GameController.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GameController.h	2021-07-31 08:26:36.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/GameController.framework/Headers/GameController.h	2021-03-16 04:44:12.000000000 -0400
@@ -6,7 +6,6 @@
 //
 
 #import <Foundation/Foundation.h>
-#import <TargetConditionals.h>
 
 #import <GameController/GCExtern.h>
 #import <GameController/GCColor.h>
@@ -53,5 +52,3 @@
 #import <GameController/GCEventViewController.h>
 
 #import <GameController/GCDeviceHaptics.h>
-
-#import <GameController/GCVirtualController.h>
Clone this wiki locally