diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-04-27 09:23:38 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-05-14 11:19:32 -0400 |
commit | 64b86b6583db832b28bb54575e32b9e2a1a7d84f (patch) | |
tree | 161e97f7d1cd6602cf6282d3f3960dd3f7505589 /drivers/dma/iop-adma.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 <linux@youmustbejoking.demon.co.uk>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/dma/iop-adma.c')
0 files changed, 0 insertions, 0 deletions