Programming for Apple Remote Controls

How do I get started with programming for the Apple Remote?

For starters, I only intend to support one control and one type of receiver, which is on the current Unibody MacBooks.

What I mean when programming is how I start writing OSX, preferably Cocoa, if there is an API, an application that intercepts commands from a control and then sends commands to the OS.

For example, for starters, I would just like to get a keystroke from a remote control, and then issue a keyboard command in the OS.

For example, let's say that I am running this listener application, if you press the menu button and you are in a text application, it prints the letter "a", for example.

+4
source share

Source: https://habr.com/ru/post/1339444/


All Articles