Hi All

I there a way to detect, on a system wide basis, that the dim/ brightness keys (or volume keys) have been pressed?

I tried using the event-tap API using a HID + head based intercept, running as root with assistive access switched on, but even that doesn't receive the events.

My aim is to write a little util that swaps the function keys depending on which app is running (i.e. so that during certain apps you don't have to use the FN key on the laptop to get F1). So I need to have the ability to modify the event stream - e.g. exactly what event taps provides.

The only fly in the soup so far is that the brightness (F1 and F2 as well as the volume keys) are not seen by the event tap spike program that Ive written.

Looking forward to any tips - thanks.
--
John Clayton
_______________________________________________

Cocoa-dev mailing list ([email protected])

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