diff options
author | Corentin Chary <corentincj@iksaif.net> | 2009-08-28 08:56:51 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-28 15:21:13 -0400 |
commit | dc79526078d2c0f01445e54e1d9fdf7c15ffd63d (patch) | |
tree | 892eda1ae25fa69f460e7e8ca9de7b0addf3a593 /drivers/platform | |
parent | b7d3fbc2ed624cc216adda0f2574570e6d6d6aed (diff) |
asus-laptop: handle keyboard backlight keys
Add support for the Fn+F3/Fn+F4 keys and map them
as KEY_KBDILLUMUP and KEY_KBDILLUMDOWN.
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/asus-laptop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 0fb4e5971516..dd926b913ec9 100644 --- a/drivers/platform/x86/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c | |||
@@ -301,6 +301,8 @@ static struct key_entry asus_keymap[] = { | |||
301 | {KE_KEY, 0x8A, KEY_PROG1}, | 301 | {KE_KEY, 0x8A, KEY_PROG1}, |
302 | {KE_KEY, 0x95, KEY_MEDIA}, | 302 | {KE_KEY, 0x95, KEY_MEDIA}, |
303 | {KE_KEY, 0x99, KEY_PHONE}, | 303 | {KE_KEY, 0x99, KEY_PHONE}, |
304 | {KE_KEY, 0xc4, KEY_KBDILLUMUP}, | ||
305 | {KE_KEY, 0xc5, KEY_KBDILLUMDOWN}, | ||
304 | {KE_END, 0}, | 306 | {KE_END, 0}, |
305 | }; | 307 | }; |
306 | 308 | ||