linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* screen auto brightness key
@ 2007-06-05 17:27 Bastien Nocera
  2007-06-05 17:30 ` Richard Hughes
  0 siblings, 1 reply; 2+ messages in thread
From: Bastien Nocera @ 2007-06-05 17:27 UTC (permalink / raw)
  To: linux-input; +Cc: Richard Hughes

Heya,

We've just landed some HAL software to map "unknown scancodes" to proper
input keys, as listed in linux/input.h and I can't seem to find a good
match for the "ALS" key on my Dell computer.

The "Auto Light Sensing" key turns on/off the hardware monitor for
brightness and ajusts the screen brightness in consequence.

It's similar to KEY_KBDILLUMTOGGLE, but for screens. Is there a match I
couldn't find, or should I kindly ask for the key to be added?

Cheers

-- 
Bastien Nocera <hadess@hadess.net> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: screen auto brightness key
  2007-06-05 17:27 screen auto brightness key Bastien Nocera
@ 2007-06-05 17:30 ` Richard Hughes
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Hughes @ 2007-06-05 17:30 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: linux-input, Dmitry Torokhov

On Tue, 2007-06-05 at 18:27 +0100, Bastien Nocera wrote:
> Heya,
> 
> We've just landed some HAL software to map "unknown scancodes" to proper
> input keys, as listed in linux/input.h and I can't seem to find a good
> match for the "ALS" key on my Dell computer.
> 
> The "Auto Light Sensing" key turns on/off the hardware monitor for
> brightness and ajusts the screen brightness in consequence.
> 
> It's similar to KEY_KBDILLUMTOGGLE, but for screens. Is there a match I
> couldn't find, or should I kindly ask for the key to be added?

KEY_BRIGHTNESSTOGGLE is probably best IMO.

Richard.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-05 17:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-05 17:27 screen auto brightness key Bastien Nocera
2007-06-05 17:30 ` Richard Hughes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).