[GameController] Added support to Xcode 14.1 b1 (#16094)

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
This commit is contained in:
Israel Soto 2022-10-13 10:42:52 -05:00 коммит произвёл GitHub
Родитель 48293a4b05
Коммит d910c1ba60
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 23 добавлений и 74 удалений

Просмотреть файл

@ -2305,7 +2305,7 @@ namespace GameController {
interface IGCDevicePhysicalInputState {} interface IGCDevicePhysicalInputState {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCDevicePhysicalInputState { interface GCDevicePhysicalInputState {
[Abstract] [Abstract]
@ -2353,7 +2353,7 @@ namespace GameController {
interface IGCAxisInput {} interface IGCAxisInput {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCAxisInput { interface GCAxisInput {
[Abstract] [Abstract]
@ -2383,7 +2383,7 @@ namespace GameController {
interface IGCAxisElement {} interface IGCAxisElement {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCAxisElement : GCPhysicalInputElement { interface GCAxisElement : GCPhysicalInputElement {
[Abstract] [Abstract]
@ -2397,7 +2397,7 @@ namespace GameController {
interface IGCButtonElement {} interface IGCButtonElement {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCButtonElement : GCPhysicalInputElement { interface GCButtonElement : GCPhysicalInputElement {
[Abstract] [Abstract]
@ -2409,12 +2409,12 @@ namespace GameController {
IGCTouchedStateInput TouchedInput { get; } IGCTouchedStateInput TouchedInput { get; }
} }
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] delegate void ElementValueDidChangeHandler (IGCDevicePhysicalInput physicalInput, IGCPhysicalInputElement element);
delegate void GCDevicePhysicalInputElementHandler (IGCDevicePhysicalInput physicalInput, IGCPhysicalInputElement element); delegate void InputStateAvailableHandler (IGCDevicePhysicalInput physicalInput);
interface IGCDevicePhysicalInput {} interface IGCDevicePhysicalInput {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCDevicePhysicalInput : GCDevicePhysicalInputState { interface GCDevicePhysicalInput : GCDevicePhysicalInputState {
[Abstract] [Abstract]
@ -2423,7 +2423,7 @@ namespace GameController {
[Abstract] [Abstract]
[NullAllowed, Export ("elementValueDidChangeHandler", ArgumentSemantic.Copy)] [NullAllowed, Export ("elementValueDidChangeHandler", ArgumentSemantic.Copy)]
GCDevicePhysicalInputElementHandler ElementValueDidChangeHandler { get; set; } ElementValueDidChangeHandler ElementValueDidChangeHandler { get; set; }
[Abstract] [Abstract]
[Export ("capture")] [Export ("capture")]
@ -2431,7 +2431,7 @@ namespace GameController {
[Abstract] [Abstract]
[NullAllowed, Export ("inputStateAvailableHandler", ArgumentSemantic.Copy)] [NullAllowed, Export ("inputStateAvailableHandler", ArgumentSemantic.Copy)]
Action<IGCDevicePhysicalInput> InputStateAvailableHandler { get; set; } InputStateAvailableHandler InputStateAvailableHandler { get; set; }
[Abstract] [Abstract]
[Export ("inputStateQueueDepth")] [Export ("inputStateQueueDepth")]
@ -2444,7 +2444,7 @@ namespace GameController {
interface IGCDevicePhysicalInputStateDiff {} interface IGCDevicePhysicalInputStateDiff {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCDevicePhysicalInputStateDiff { interface GCDevicePhysicalInputStateDiff {
[Abstract] [Abstract]
@ -2458,7 +2458,7 @@ namespace GameController {
interface IGCDirectionPadElement {} interface IGCDirectionPadElement {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCDirectionPadElement : GCPhysicalInputElement { interface GCDirectionPadElement : GCPhysicalInputElement {
[Abstract] [Abstract]
@ -2488,7 +2488,7 @@ namespace GameController {
interface IGCLinearInput {} interface IGCLinearInput {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCLinearInput { interface GCLinearInput {
[Abstract] [Abstract]
@ -2518,7 +2518,7 @@ namespace GameController {
interface IGCPhysicalInputElement {} interface IGCPhysicalInputElement {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCPhysicalInputElement { interface GCPhysicalInputElement {
[Abstract] [Abstract]
@ -2536,7 +2536,7 @@ namespace GameController {
interface IGCPressedStateInput {} interface IGCPressedStateInput {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCPressedStateInput { interface GCPressedStateInput {
[Abstract] [Abstract]
@ -2558,7 +2558,7 @@ namespace GameController {
interface IGCRelativeInput {} interface IGCRelativeInput {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCRelativeInput { interface GCRelativeInput {
[Abstract] [Abstract]
@ -2584,7 +2584,7 @@ namespace GameController {
interface IGCSwitchElement {} interface IGCSwitchElement {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCSwitchElement : GCPhysicalInputElement { interface GCSwitchElement : GCPhysicalInputElement {
[Abstract] [Abstract]
@ -2594,7 +2594,7 @@ namespace GameController {
interface IGCSwitchPositionInput {} interface IGCSwitchPositionInput {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCSwitchPositionInput { interface GCSwitchPositionInput {
[Abstract] [Abstract]
@ -2628,7 +2628,7 @@ namespace GameController {
interface IGCTouchedStateInput {} interface IGCTouchedStateInput {}
[NoiOS, Mac (13,0), NoWatch, NoTV, MacCatalyst (16,0)] [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)]
[Protocol] [Protocol]
interface GCTouchedStateInput { interface GCTouchedStateInput {
[Abstract] [Abstract]

Просмотреть файл

@ -284,6 +284,11 @@ namespace Cecil.Tests {
"GameController.GCRacingWheel.get_VendorName", "GameController.GCRacingWheel.get_VendorName",
"GameController.GCRacingWheel.get_ProductCategory", "GameController.GCRacingWheel.get_ProductCategory",
"GameController.GCRacingWheel.get_PhysicalInputProfile", "GameController.GCRacingWheel.get_PhysicalInputProfile",
"GameController.GCGearShifterElement.get_Aliases",
"GameController.GCGearShifterElement.get_LocalizedName",
"GameController.GCGearShifterElement.get_SfSymbolsName",
"GameController.GCRacingWheelInput",
"GameController.GCSteeringWheelElemen",
}; };
if (inlineProtocols.Any ((p) => member.StartsWith (p))) { if (inlineProtocols.Any ((p) => member.StartsWith (p))) {

Просмотреть файл

@ -1,14 +0,0 @@
!missing-protocol! GCAxisElement not bound
!missing-protocol! GCAxisInput not bound
!missing-protocol! GCButtonElement not bound
!missing-protocol! GCDevicePhysicalInput not bound
!missing-protocol! GCDevicePhysicalInputState not bound
!missing-protocol! GCDevicePhysicalInputStateDiff not bound
!missing-protocol! GCDirectionPadElement not bound
!missing-protocol! GCLinearInput not bound
!missing-protocol! GCPhysicalInputElement not bound
!missing-protocol! GCPressedStateInput not bound
!missing-protocol! GCRelativeInput not bound
!missing-protocol! GCSwitchElement not bound
!missing-protocol! GCSwitchPositionInput not bound
!missing-protocol! GCTouchedStateInput not bound

Просмотреть файл

@ -1,14 +0,0 @@
!missing-protocol! GCAxisElement not bound
!missing-protocol! GCAxisInput not bound
!missing-protocol! GCButtonElement not bound
!missing-protocol! GCDevicePhysicalInput not bound
!missing-protocol! GCDevicePhysicalInputState not bound
!missing-protocol! GCDevicePhysicalInputStateDiff not bound
!missing-protocol! GCDirectionPadElement not bound
!missing-protocol! GCLinearInput not bound
!missing-protocol! GCPhysicalInputElement not bound
!missing-protocol! GCPressedStateInput not bound
!missing-protocol! GCRelativeInput not bound
!missing-protocol! GCSwitchElement not bound
!missing-protocol! GCSwitchPositionInput not bound
!missing-protocol! GCTouchedStateInput not bound

Просмотреть файл

@ -1,14 +0,0 @@
!missing-protocol! GCAxisElement not bound
!missing-protocol! GCAxisInput not bound
!missing-protocol! GCButtonElement not bound
!missing-protocol! GCDevicePhysicalInput not bound
!missing-protocol! GCDevicePhysicalInputState not bound
!missing-protocol! GCDevicePhysicalInputStateDiff not bound
!missing-protocol! GCDirectionPadElement not bound
!missing-protocol! GCLinearInput not bound
!missing-protocol! GCPhysicalInputElement not bound
!missing-protocol! GCPressedStateInput not bound
!missing-protocol! GCRelativeInput not bound
!missing-protocol! GCSwitchElement not bound
!missing-protocol! GCSwitchPositionInput not bound
!missing-protocol! GCTouchedStateInput not bound

Просмотреть файл

@ -1,14 +0,0 @@
!missing-protocol! GCAxisElement not bound
!missing-protocol! GCAxisInput not bound
!missing-protocol! GCButtonElement not bound
!missing-protocol! GCDevicePhysicalInput not bound
!missing-protocol! GCDevicePhysicalInputState not bound
!missing-protocol! GCDevicePhysicalInputStateDiff not bound
!missing-protocol! GCDirectionPadElement not bound
!missing-protocol! GCLinearInput not bound
!missing-protocol! GCPhysicalInputElement not bound
!missing-protocol! GCPressedStateInput not bound
!missing-protocol! GCRelativeInput not bound
!missing-protocol! GCSwitchElement not bound
!missing-protocol! GCSwitchPositionInput not bound
!missing-protocol! GCTouchedStateInput not bound