From: Keng-Yu Lin Date: Tue, 1 Mar 2011 04:56:13 +0000 (+0800) Subject: eeepc-wmi: set the touchpad toggle key code to KEY_TOUCHPAD_TOGGLE X-Git-Tag: v2.6.39-rc1~20^2^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b3e73f7d879f914f25605f74a71c2dad34bc329;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git eeepc-wmi: set the touchpad toggle key code to KEY_TOUCHPAD_TOGGLE Signed-off-by: Keng-Yu Lin Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 64e36de..0ddc434 100644 --- a/drivers/platform/x86/eeepc-wmi.c +++ b/drivers/platform/x86/eeepc-wmi.c @@ -63,7 +63,7 @@ static const struct key_entry eeepc_wmi_keymap[] = { { KE_KEY, 0x32, { KEY_MUTE } }, { KE_KEY, 0x5c, { KEY_F15 } }, /* Power Gear key */ { KE_KEY, 0x5d, { KEY_WLAN } }, - { KE_KEY, 0x6b, { KEY_F13 } }, /* Disable Touchpad */ + { KE_KEY, 0x6b, { KEY_TOUCHPAD_TOGGLE } }, /* Toggle Touchpad */ { KE_KEY, 0x82, { KEY_CAMERA } }, { KE_KEY, 0x83, { KEY_CAMERA_ZOOMIN } }, { KE_KEY, 0x88, { KEY_WLAN } },