diff options
| author | Darren Salt <[email protected]> | 2009-04-27 09:23:38 +0200 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2009-05-14 11:19:32 -0400 |
| commit | 64b86b6583db832b28bb54575e32b9e2a1a7d84f (patch) | |
| tree | 161e97f7d1cd6602cf6282d3f3960dd3f7505589 /scripts/basic/docproc.c | |
| parent | fbc97e4c5c31ea198f912196b1379d7493362800 (diff) | |
eeepc-laptop: report brightness control events via the input layer
This maps the brightness control events to one of two keys, either
KEY_BRIGHTNESSDOWN or KEY_BRIGHTNESSUP, as needed.
Some mapping has to be done due to the fact that the BIOS reports them as
<base value> + <current brightness index>; the selection is done according to
the sign of the change in brightness (if this is 0, no keypress is reported).
(Ref. http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/2009-April/002001.html)
Signed-off-by: Darren Salt <[email protected]>
Signed-off-by: Corentin Chary <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions