Upgrade your apps and games with the game control framework and easily build on popular console game controllers and MFi accessories on your iPhone, iPad, Mac and Apple TV. Proper control and touch feedback provided by the game controller enhances the player’s sense of immersion and enhances their game experience. And now it’s easier than ever to help them know which games to support.
You can apply for game control support when building your app on Xcode 12. By applying control support, your App Store product page displays a control badge, and your app can access control input re-mapping options in settings.
How to add support for game controllers in Xcode 12
Follow a few simple steps to apply control support
- Open yours Xcode Project.
- to the Signing and Skills The target section of your app.
- Add “Game Controllers” capability in Xcode.
- Select each one Control profiles Supports your app or game.
Note: “Extended Gempad” refers to physical buttons, triggers, and thumbnails such as the Stelcer Nembus, Sony Dualshock 4 Wireless Controller, Xbox Elite Wireless Controller Series 2, and more. And “Micro Gamed” refers to the controls provided by Siri Remote for Apple TV.
If you are building your app using the old version of Xcode, you can apply by adjusting the support support info.plist
For your application. Manage GCSupportsControllerUserInteraction
Key b true
Then specify each control profile your app supports.
<key>GCSupportsControllerUserInteraction</key>
<true/>
<key>GCSupportedGameControllers</key>
<array>
<dict>
<key>ProfileName</key>
<string>ExtendedGamepad</string>
</dict>
</array>
Press Start
The game control framework provides powerful features for your apps across Apple platforms. And with iOS 14, tvOS 14 and macOS Big Sur, your app gets support for the Xbox Adaptive Controller and Xbox Elite Wireless Controller Series 2, custom haptics for Rumble feedback and keyboard and mouse input on the iPad. See “Advances in Game Controllers” and “Bring Keyboard and Mouse Games to iPad” for more information.
Resources
Advances in game controls
Let’s shout! Learn how to bring third-party game controls and custom haptics to your games on your iPhone, iPad, Mac and Apple TV. We’ll show you how to increase support for the latest controllers – Xbox Elite Wireless Controller Series 2 and Adaptive Controller – and map …
Bring keyboard and mouse games to your iPad
Upgrade your iPad games and add them to your keyboard, mouse and trackpad controls. Learn how to use the game control framework to add existing titles, bring games from other platforms, or dream of completely new interactive experiences. Learn how to combine keyboard and delta …