How to add GameController support into macOS app

it seems like I have the option only for iOS apps by "+Capability" is it able to add GameController support some how for macOS app?

Replies

According to the WWDC 2021 session on game controllers, adding the Game Controller capability adds an entry to Info.plist with the GCSupportsControllerUserInteraction key and the value True. You can manually add that entry to the Mac app target's Info.plist file by selecting the Mac app target from the project editor and clicking the Info button at the top of the project editor.

  • I had tried it. It had no effect unfortunately.

Add a Comment