Use an Apple Remote with Mac
If you have an Apple Remote, you can use it to control certain features on some Mac computers, iOS devices, or an Apple TV. For example, from a distance you can play music from iTunes on your Mac or navigate through Keynote presentations, play music from your iPod (using the Apple Universal Dock), or remotely control your Apple TV. Using the remote, you can change the sound volume, navigate lists and menus, start and pause playback, and more.
The Apple Remote operates on an infrared (IR)-based transmitter, and works with Apple devices that have an infrared receiver. If the remote has an unobstructed line of sight to the receiver, it can function at distances of up to 30 feet.
If your computer has IR capability, but didn’t come with an Apple Remote, you can purchase one from apple.com or an Apple Store.
For information about using a Siri Remote and Apple TV (4th generation), see the Apple TV User Guide.
With macOS Sierra or later, if you use Switch Control to control your Mac, you can also control your Apple TV from your Mac. See Use Switch Control on Mac.