Re: Detect dim/brightness keys on laptop

2009-12-30 Thread Jeremy Pereira
On 25 Dec 2009, at 14:01, John Clayton wrote: > > 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 eve

Re: Detect dim/brightness keys on laptop

2009-12-26 Thread Michael Davey
As far as I know, the system provides you with this choice. On 26 Dec 2009, at 01:01, John Clayton wrote: > 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 base

Detect dim/brightness keys on laptop

2009-12-25 Thread John Clayton
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 ai