asus-laptop: handle keyboard backlight keys
authorCorentin Chary <corentincj@iksaif.net>
Fri, 28 Aug 2009 12:56:51 +0000 (12:56 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 28 Aug 2009 19:21:13 +0000 (15:21 -0400)
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>
drivers/platform/x86/asus-laptop.c

index 0fb4e5971516531bfce24b63a7974499c86490ab..dd926b913ec9d297dbc73aec81c8bd100a528cd8 100644 (file)
@@ -301,6 +301,8 @@ static struct key_entry asus_keymap[] = {
        {KE_KEY, 0x8A, KEY_PROG1},
        {KE_KEY, 0x95, KEY_MEDIA},
        {KE_KEY, 0x99, KEY_PHONE},
+       {KE_KEY, 0xc4, KEY_KBDILLUMUP},
+       {KE_KEY, 0xc5, KEY_KBDILLUMDOWN},
        {KE_END, 0},
 };
 
This page took 0.028527 seconds and 5 git commands to generate.