{"repo":"0xWDG/GameControllerKit","free":true,"listed":false,"github":"https://github.com/0xWDG/GameControllerKit","clone":"git clone https://github.com/0xWDG/GameControllerKit.git","description":"GameControllerKit is a Swift package that makes it easy to work with game controllers on iOS, macOS, and tvOS. It provides a simple API to connect to game controllers, read input from them, and control their lights and haptics.","language":"Swift","stars":40,"topics":["controller","game","game-development","gamedev","gamedevelopment","games","playstation","spm","stadia","swift"],"license":"MIT","category":"game-templates","readme_excerpt":"GameControllerKit GameControllerKit is a Swift package that makes it easy to work with game controllers on iOS, macOS, and tvOS. It provides a simple API to connect to game controllers, read input from them, and control their lights and haptics. Requirements - Swift 5.9+ (Xcode 15+) - iOS 13+, macOS 10.15+, tvOS 16+ Installation (Pakage.swift) Installation (Xcode) 1. In Xcode, open your project and navigate to File → Swift Packages → Add Package Dependency... 2. Paste the repository URL ( https://github.com/0xWDG/GameControllerKit ) and click Next . 3. Click Finish . Usage Demo Application Run the included macOS SwiftUI demo from the repository: The demo displays connected hardware and can mock controller types and input actions. Mocking Mock state is useful for previews, UI development, and tests without controller hardware: Image of Usage Demo App iOS MacOS tvOS Mentions - Touch-free Touch Screens by Rob Whitaker https://appdevcon.nl/session/touch-free-touch-screens/ @ AppDevCon 2025 https://www.youtube.com/watch?v=bHPMuVyjBYw @ iOSKonf25 Contact 🦋 @0xWDG 🐘 mastodon.social/@0xWDG 🐦 @0xWDG 🧵 @0xWDG 🌐 wesleydegroot.nl 🤖 Discord Interested learning more about Swift? Check out my blog.","default_branch":null,"files":null,"tree":[],"storefront":"/r/0xWDG","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/0xWDG/GameControllerKit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}