I would also like to know this. I tried fiddling around with an as- low-as-I-could-go CGEventTap a while ago to try and intercept them, but they never showed up in the callback. Ditto on the volume and eject keys.

I think these buttons may work on the same principle as secure textfields. They somehow get re-routed around the standard event route.

Dave

On Nov 11, 2008, at 8:25 AM, I. Savant wrote:

List:

Does anyone have experience intercepting the play/pause and rew/ff (seek back / seek forward) keys on some keyboards? Particularly, the MacBook / MacBook Pro keyboards?

These keys control iTunes and QuickTime just fine when they're running but I'd like to intercept them myself as well. Assuming I'm using the right terms, I don't see any mention in the archives, on cocoadev.com, or anything useful on the web at large.

I've tried capturing the events in the raw but they never make it to the app, so I poked around in the Keyboard & Mouse (Keyboard Shortcuts) system prefs. The only use I see of F8 (the play/pause key on the latest MacBook) requires pressing the "fn" key to trigger it since simply pressing the keys unmodified is not considered F1-Fn.

 So I was hoping someone else had figured this out. :-)

--
I.S.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to