IR Remote control for Apple TV / games

I am looking at developing a game for the Apple TV and wanted to know if this feature was possible. There are many games for Nintendo to Playstation like the original 1984 Duck Hunt to Resident Evil to Call of Duty. My game I'm developing for the iPhone/iPad requires you to press quickly on your iOS screen and beat someone else's time.


I need a way to be able to aim the Apple TV remote at a real TV and press quickly (with a curser/crosshair on screen) with low latency as you are being timed and playing against another live opponant. Is this possibel?


If this is possible a slew of games could be made to take advantage of this.

Replies

See:

Game Controller Programming Guide

https://developer.apple.com/documentation/gamecontroller

https://support.apple.com/guide/tv/use-the-siri-remote-in-games-atvb25f3af40/tvos


Keep in mind the Apple TV remote is both BlueTooth and IR.


Properly configured/coded games that run on the Apple TV should also work with MFi game controllers:

See https://support.apple.com/en-us/HT210414