I took Martin Kahr’s Apple Remote Controller Wrapper Class and built a Quartz Composer patch around it.
This release is only compatible with Tiger (10.4).
Leopard (10.5) includes a built-in Apple Remote patch.
Please see also kineme.net for Leopard-compatible patches.
Leopard (10.5) includes a built-in Apple Remote patch.
Please see also kineme.net for Leopard-compatible patches.
Some notes:
- The events received from the Apple Remote are fairly strange to begin with.. You don’t simply get “key down” / “key up” events as I would have assumed, but instead get cooked events – for many of the buttons, holding the button down generates a different event than tapping it.
- My patch queues events, to ensure that each keypress is visible for at least one frame.
Steve Mokris is a developer at Kosada, Inc.
Comments
Let it be said … you rock!
Must get my head around this building plugins thing.
Excellent idea and opens up some great invention (i’m thinkin about using it to lock/disable keys on my DVJ application when i go to the bar while performing). Ok so now i just need to remember where did i put that remote thing!?
nice job / lovin what your doing 4 the qc community
Hi i have updated to leopard, and as i can tell from what you wrote, leopard comes with built in support in cocoa for apple remote events. if you can point me to where i can find more about this subject i would be very grate full. Thanks, Gur.
Gur -
In the Patch Creator / Patch List do a search for “Apple Remote” – there’s a built-in patch that outputs the Apple Remote events.