From: Chih-Wei Huang Date: Tue, 20 Mar 2012 08:53:03 +0000 (+0100) Subject: eeepc-wmi: add extra keymaps for EP121 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eb649a818abab4b0a8bb8b00d174ad9acf0a8a5a;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git eeepc-wmi: add extra keymaps for EP121 Signed-off-by: Chih-Wei Huang Signed-off-by: Corentin Chary Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 9f6e64302b45..1d91eb2ace0a 100644 --- a/drivers/platform/x86/eeepc-wmi.c +++ b/drivers/platform/x86/eeepc-wmi.c @@ -84,6 +84,9 @@ static const struct key_entry eeepc_wmi_keymap[] = { { KE_KEY, 0xed, { KEY_CAMERA_DOWN } }, { KE_KEY, 0xee, { KEY_CAMERA_LEFT } }, { KE_KEY, 0xef, { KEY_CAMERA_RIGHT } }, + { KE_KEY, 0xf3, { KEY_MENU } }, + { KE_KEY, 0xf5, { KEY_HOMEPAGE } }, + { KE_KEY, 0xf6, { KEY_ESC } }, { KE_END, 0}, };