From patchwork Tue Jul 19 07:05:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: eeepc-wmi: add keys found on EeePC 1215T Date: Mon, 18 Jul 2011 21:05:53 -0000 From: Keng-Yu Lin X-Patchwork-Id: 105524 Message-Id: <1311059153-13892-2-git-send-email-kengyu@canonical.com> To: Kernel team list From: Corentin Chary BugLink: http://bugs.launchpad.net/bugs/812644 Signed-off-by: Corentin Chary Signed-off-by: Matthew Garrett (cherry picked from commit 9481472559b3ecd366390786628c2fb211d1477b) Signed-off-by: Keng-Yu Lin Acked-by: Seth Forshee Acked-by: Leann Ogasawara --- drivers/platform/x86/eeepc-wmi.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index a44a510..6afd643 100644 --- a/drivers/platform/x86/eeepc-wmi.c +++ b/drivers/platform/x86/eeepc-wmi.c @@ -122,10 +122,12 @@ static const struct key_entry eeepc_wmi_keymap[] = { { KE_KEY, 0x5d, { KEY_WLAN } }, { KE_KEY, 0x6b, { KEY_F13 } }, /* Disable Touchpad */ { KE_KEY, 0x88, { KEY_WLAN } }, + { KE_KEY, 0xbd, { KEY_CAMERA } }, { KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } }, { KE_KEY, 0xe0, { KEY_PROG1 } }, /* Task Manager */ { KE_KEY, 0xe1, { KEY_F14 } }, /* Change Resolution */ { KE_KEY, HOME_PRESS, { KEY_CONFIG } }, + { KE_KEY, 0xe8, { KEY_SCREENLOCK } }, { KE_KEY, 0xe9, { KEY_BRIGHTNESS_ZERO } }, { KE_END, 0}, };