From: Darren Salt Date: Mon, 27 Apr 2009 07:23:38 +0000 (+0200) Subject: eeepc-laptop: report brightness control events via the input layer X-Git-Tag: v2.6.30-rc7~44^2^11~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64b86b6583db832b28bb54575e32b9e2a1a7d84f;p=pandora-kernel.git 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 + ; 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 Signed-off-by: Corentin Chary Signed-off-by: Len Brown --- Reading git-diff-tree failed