Skip to content

[GameController] Update bindings up to Xcode 27.0 Beta 3#26162

Merged
dalexsoto merged 2 commits into
xcode27.0from
dev/alex/xc27-GameController
Jul 17, 2026
Merged

[GameController] Update bindings up to Xcode 27.0 Beta 3#26162
dalexsoto merged 2 commits into
xcode27.0from
dev/alex/xc27-GameController

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Summary

  • add GCControllerHomeButtonSettingsManager and the Xcode 27 Home button action, customization status, and activity enums
  • bind the settings-change callback, designated queue constructor, settings opener, and safe read overloads
  • preserve native platform availability, including the macOS-only Disabled enum values, and remove the resolved GameController xtro todo files

Validation

  • make world before implementation and after the binding changes
  • clean xtro generation, classification, and sanity
  • clean Cecil suite: 116/116
  • introspection: iOS 44/44, tvOS 43/43, macOS 32/32, Mac Catalyst 39/39
  • AppSizeTest: 0 failures; all 16 cases skipped by the repository beta-Xcode guard

Add GCControllerHomeButtonSettingsManager with the Xcode 27 Home button settings enums, callback, constructors, and read and settings-opening APIs.

Match native platform availability, including the macOS-only Disabled values, expose safe customization-status overloads, and document the complete managed surface.

Remove the resolved iOS, macOS, and Mac Catalyst xtro todo files. Validate with make world, clean xtro and Cecil runs, all-platform introspection, and the clean AppSizeTest pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 76ac7c14-727e-40ae-9b26-e2f6fb5d8a7d
Copilot AI review requested due to automatic review settings July 17, 2026 04:11
@dalexsoto dalexsoto added this to the xcode27 milestone Jul 17, 2026
@dalexsoto
dalexsoto requested a review from rolfbjarne July 17, 2026 04:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GameController bindings to match Xcode 27.0 Beta 3 by adding the new controller Home button settings APIs and cleaning up resolved xtro TODOs.

Changes:

  • Added GCControllerHomeButtonSettingsManager along with the settings-change callback, queue-based designated initializer, settings opener, and read overloads.
  • Introduced new Home button action/customization enums with platform-accurate availability (including macOS-only Disabled values).
  • Removed resolved *-GameController.todo files from xtro-sharpie.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/gamecontroller.cs Adds new GameController Home button settings enums, delegate, and manager binding APIs for Xcode 27.
tests/xtro-sharpie/api-annotations-dotnet/macOS-GameController.todo Deletes resolved xtro TODO entries now covered by bindings.
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-GameController.todo Deletes resolved xtro TODO entries now covered by bindings.
tests/xtro-sharpie/api-annotations-dotnet/iOS-GameController.todo Deletes resolved xtro TODO entries now covered by bindings.

@dalexsoto
dalexsoto enabled auto-merge (squash) July 17, 2026 05:22
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

Comment thread src/gamecontroller.cs Outdated
Rename OpenControllerHomeButtonSettingsForActivity to OpenControllerHomeButtonSettings as requested in review, while preserving the Objective-C selector and method signature.

Validate the review fix with make world, clean xtro and Cecil runs, and the clean AppSizeTest pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 76ac7c14-727e-40ae-9b26-e2f6fb5d8a7d
@dalexsoto
dalexsoto requested a review from rolfbjarne July 17, 2026 10:16
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 557313d11185fd8923c788a63715206d2f3b62f8 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #557313d] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 195 tests passed 🎉

Tests counts

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 6 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ linker (iOS): All 15 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 19 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download
⚠️ Tests on macOS Golden Gate (27): Tests skipped, incorrect beta version. Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: 557313d11185fd8923c788a63715206d2f3b62f8 [PR build]

@dalexsoto
dalexsoto merged commit d087a04 into xcode27.0 Jul 17, 2026
55 checks passed
@dalexsoto
dalexsoto deleted the dev/alex/xc27-GameController branch July 17, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants