GameController macOS 13.0 22A5266o to 22A5286g API Differences

GCDevicePhysicalInputState.h
Modified GCDevicePhysicalInputState.elements
Declaration
From@property (readonly, nonnull) NSDictionary<NSString *,id<GCPhysicalInputElement>> *elements
To@property (readonly, nonnull) GCPhysicalInputElementCollection<NSString<GCPhysicalInputElementName> *,id<GCPhysicalInputElement>> *elements

Modified GCDevicePhysicalInputState.buttons
Declaration
From@property (readonly, nonnull) NSDictionary<NSString *,id<GCButtonElement>> *buttons
To@property (readonly, nonnull) GCPhysicalInputElementCollection<NSString<GCButtonElementName> *,id<GCButtonElement>> *buttons

Modified GCDevicePhysicalInputState.axes
Declaration
From@property (readonly, nonnull) NSDictionary<NSString *,id<GCAxisElement>> *axes
To@property (readonly, nonnull) GCPhysicalInputElementCollection<NSString<GCAxisElementName> *,id<GCAxisElement>> *axes

Modified GCDevicePhysicalInputState.switches
Declaration
From@property (readonly, nonnull) NSDictionary<NSString *,id<GCSwitchElement>> *switches
To@property (readonly, nonnull) GCPhysicalInputElementCollection<NSString<GCSwitchElementName> *,id<GCSwitchElement>> *switches

Modified GCDevicePhysicalInputState.dpads
Declaration
From@property (readonly, nonnull) NSDictionary<NSString *,id<GCDirectionPadElement>> *dpads
To@property (readonly, nonnull) GCPhysicalInputElementCollection<NSString<GCDirectionPadElementName> *,id<GCDirectionPadElement>> *dpads

GCInputNames.h
Added GCPhysicalInputElementName
Added GCButtonElementName
Added GCAxisElementName
Added GCSwitchElementName
Added GCDirectionPadElementName
Added GCInputElementName
Added GCInputButtonName
Added GCInputAxisName
Added GCInputSwitchName
Added GCInputDirectionPadName
Modified GCInputButtonA
Declaration
FromNSString *const GCInputButtonA
ToGCInputButtonName GCInputButtonA

Modified GCInputButtonB
Declaration
FromNSString *const GCInputButtonB
ToGCInputButtonName GCInputButtonB

Modified GCInputButtonX
Declaration
FromNSString *const GCInputButtonX
ToGCInputButtonName GCInputButtonX

Modified GCInputButtonY
Declaration
FromNSString *const GCInputButtonY
ToGCInputButtonName GCInputButtonY

Modified GCInputDirectionPad
Declaration
FromNSString *const GCInputDirectionPad
ToGCInputDirectionPadName GCInputDirectionPad

Modified GCInputLeftThumbstick
Declaration
FromNSString *const GCInputLeftThumbstick
ToGCInputDirectionPadName GCInputLeftThumbstick

Modified GCInputRightThumbstick
Declaration
FromNSString *const GCInputRightThumbstick
ToGCInputDirectionPadName GCInputRightThumbstick

Modified GCInputLeftShoulder
Declaration
FromNSString *const GCInputLeftShoulder
ToGCInputButtonName GCInputLeftShoulder

Modified GCInputRightShoulder
Declaration
FromNSString *const GCInputRightShoulder
ToGCInputButtonName GCInputRightShoulder

Modified GCInputLeftTrigger
Declaration
FromNSString *const GCInputLeftTrigger
ToGCInputButtonName GCInputLeftTrigger

Modified GCInputRightTrigger
Declaration
FromNSString *const GCInputRightTrigger
ToGCInputButtonName GCInputRightTrigger

Modified GCInputLeftThumbstickButton
Declaration
FromNSString *const GCInputLeftThumbstickButton
ToGCInputButtonName GCInputLeftThumbstickButton

Modified GCInputRightThumbstickButton
Declaration
FromNSString *const GCInputRightThumbstickButton
ToGCInputButtonName GCInputRightThumbstickButton

Modified GCInputButtonHome
Declaration
FromNSString *const GCInputButtonHome
ToGCInputButtonName GCInputButtonHome

Modified GCInputButtonMenu
Declaration
FromNSString *const GCInputButtonMenu
ToGCInputButtonName GCInputButtonMenu

Modified GCInputButtonOptions
Declaration
FromNSString *const GCInputButtonOptions
ToGCInputButtonName GCInputButtonOptions

Modified GCInputButtonShare
Declaration
FromNSString *const GCInputButtonShare
ToGCInputButtonName GCInputButtonShare

Modified GCInputXboxPaddleOne
Declaration
FromNSString *const GCInputXboxPaddleOne
ToGCInputButtonName GCInputXboxPaddleOne

Modified GCInputXboxPaddleTwo
Declaration
FromNSString *const GCInputXboxPaddleTwo
ToGCInputButtonName GCInputXboxPaddleTwo

Modified GCInputXboxPaddleThree
Declaration
FromNSString *const GCInputXboxPaddleThree
ToGCInputButtonName GCInputXboxPaddleThree

Modified GCInputXboxPaddleFour
Declaration
FromNSString *const GCInputXboxPaddleFour
ToGCInputButtonName GCInputXboxPaddleFour

Modified GCInputDualShockTouchpadOne
Declaration
FromNSString *const GCInputDualShockTouchpadOne
ToGCInputDirectionPadName GCInputDualShockTouchpadOne

Modified GCInputDualShockTouchpadTwo
Declaration
FromNSString *const GCInputDualShockTouchpadTwo
ToGCInputDirectionPadName GCInputDualShockTouchpadTwo

Modified GCInputDualShockTouchpadButton
Declaration
FromNSString *const GCInputDualShockTouchpadButton
ToGCInputButtonName GCInputDualShockTouchpadButton

Modified GCInputSteeringWheel
Declaration
FromNSString *const GCInputSteeringWheel
ToGCInputAxisName GCInputSteeringWheel

Modified GCInputShifter
Declaration
FromNSString *const GCInputShifter
ToGCInputElementName GCInputShifter

Modified GCInputPedalAccelerator
Declaration
FromNSString *const GCInputPedalAccelerator
ToGCInputButtonName GCInputPedalAccelerator

Modified GCInputPedalBrake
Declaration
FromNSString *const GCInputPedalBrake
ToGCInputButtonName GCInputPedalBrake

Modified GCInputPedalClutch
Declaration
FromNSString *const GCInputPedalClutch
ToGCInputButtonName GCInputPedalClutch

Modified GCInputLeftPaddle
Declaration
FromNSString *const GCInputLeftPaddle
ToGCInputButtonName GCInputLeftPaddle

Modified GCInputRightPaddle
Declaration
FromNSString *const GCInputRightPaddle
ToGCInputButtonName GCInputRightPaddle

GCPhysicalInputElement.h
Added GCPhysicalInputElementCollection
Added GCPhysicalInputElementCollection.count
Added -[GCPhysicalInputElementCollection elementForAlias:]
Added -[GCPhysicalInputElementCollection objectForKeyedSubscript:]
Added -[GCPhysicalInputElementCollection elementEnumerator]
Added GCInputButtonA
Added GCInputButtonB
Added GCInputButtonHome
Added GCInputButtonMenu
Added GCInputButtonOptions
Added GCInputButtonShare
Added GCInputButtonX
Added GCInputButtonY
Added GCInputDirectionPad
Added GCInputDualShockTouchpadButton
Added GCInputDualShockTouchpadOne
Added GCInputDualShockTouchpadTwo
Added GCInputLeftPaddle
Added GCInputLeftShoulder
Added GCInputLeftThumbstick
Added GCInputLeftThumbstickButton
Added GCInputLeftTrigger
Added GCInputPedalAccelerator
Added GCInputPedalBrake
Added GCInputPedalClutch
Added GCInputRightPaddle
Added GCInputRightShoulder
Added GCInputRightThumbstick
Added GCInputRightThumbstickButton
Added GCInputRightTrigger
Added GCInputShifter
Added GCInputSteeringWheel
Added GCInputXboxPaddleFour
Added GCInputXboxPaddleOne
Added GCInputXboxPaddleThree
Added GCInputXboxPaddleTwo
GCAxisElementName
Added GCAxisElementName
Added GCAxisElementName.steeringWheel /* static */
Added GCAxisElementName.init(rawValue:)
Added GCAxisElementName.rawValue
Added GCAxisElementName.RawValue
GCButtonElementName
Added GCButtonElementName
Added GCButtonElementName.a /* static */
Added GCButtonElementName.b /* static */
Added GCButtonElementName.home /* static */
Added GCButtonElementName.leftPaddle /* static */
Added GCButtonElementName.leftShoulder /* static */
Added GCButtonElementName.leftThumbstickButton /* static */
Added GCButtonElementName.leftTrigger /* static */
Added GCButtonElementName.menu /* static */
Added GCButtonElementName.options /* static */
Added GCButtonElementName.pedalAccelerator /* static */
Added GCButtonElementName.pedalBrake /* static */
Added GCButtonElementName.pedalClutch /* static */
Added GCButtonElementName.rightPaddle /* static */
Added GCButtonElementName.rightShoulder /* static */
Added GCButtonElementName.rightThumbstickButton /* static */
Added GCButtonElementName.rightTrigger /* static */
Added GCButtonElementName.share /* static */
Added GCButtonElementName.x /* static */
Added GCButtonElementName.y /* static */
Added GCButtonElementName.init(rawValue:)
Added GCButtonElementName.rawValue
Added GCButtonElementName.RawValue
GCDirectionPadElementName
Added GCDirectionPadElementName
Added GCDirectionPadElementName.directionPad /* static */
Added GCDirectionPadElementName.leftThumbstick /* static */
Added GCDirectionPadElementName.rightThumbstick /* static */
Added GCDirectionPadElementName.init(rawValue:)
Added GCDirectionPadElementName.rawValue
Added GCDirectionPadElementName.RawValue
GCPhysicalInputElementCollection
Added GCPhysicalInputElementCollection
Added GCPhysicalInputElementCollection.endIndex
Added GCPhysicalInputElementCollection.startIndex
Added GCPhysicalInputElementCollection.subscript(elementName:)
Added GCPhysicalInputElementCollection.subscript(position:)
Added GCPhysicalInputElementCollection.index(after:)
Added GCPhysicalInputElementCollection.Element
Added GCPhysicalInputElementCollection.Index
Added GCPhysicalInputElementCollection.Index.<(lhs:rhs:) /* static */
Added GCPhysicalInputElementCollection.Index.==(lhs:rhs:) /* static */
Added GCPhysicalInputElementCollection.Indices
Added GCPhysicalInputElementCollection.Iterator
Added GCPhysicalInputElementCollection.SubSequence
GCPhysicalInputElementName
Added GCPhysicalInputElementName
Added GCPhysicalInputElementName.shifter /* static */
Added GCPhysicalInputElementName.init(rawValue:)
Added GCPhysicalInputElementName.rawValue
Added GCPhysicalInputElementName.RawValue
GCSwitchElementName
Added GCSwitchElementName
Added GCSwitchElementName.init(rawValue:)
Added GCSwitchElementName.rawValue
Added GCSwitchElementName.RawValue