Aidas Bendoraitis
Aidas Bendoraitis

Reputation: 4003

Reading input from remote control device on macs

How could I read input from a remote control device on a mac (iMac, Mac Mini, etc.) and handle actions based on differently pressed buttons in python?

I would like to map the button-press events to my custom app instead of "Front Row". What actions should I take to do that and what python libraries to use to handle the events?

Upvotes: 2

Views: 447

Answers (1)

Alex Martelli
Alex Martelli

Reputation: 881863

The Remote Control Wrapper 2 library is an Objective C class to handle interaction with Apple Remote Control (and, I believe, also some other such "remote-control-like" devices). To use some Objective C code from Python, see pyobjc.

Upvotes: 3

Related Questions