Message ID | 1299085078-20622-5-git-send-email-keng-yu.lin@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c index 476c745..49b26cc 100644 --- a/drivers/platform/x86/eeepc-wmi.c +++ b/drivers/platform/x86/eeepc-wmi.c @@ -69,7 +69,7 @@ static const struct key_entry eeepc_wmi_keymap[] = { { KE_KEY, 0x32, { KEY_MUTE } }, { KE_KEY, 0x5c, { KEY_F15 } }, { KE_KEY, 0x5d, { KEY_WLAN } }, - { KE_KEY, 0x6b, { KEY_F13 } }, /* Disable Touchpad */ + { KE_KEY, 0x6b, { KEY_F22 } }, /* Disable Touchpad */ { KE_KEY, 0x88, { KEY_WLAN } }, { KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } }, { KE_KEY, 0xe0, { KEY_PROG1 } },
In 2.6.37 new key codes are defined for touchpad toggleing: KEY_TOUCHPAD_TOGGLE, KEY_TOUCHPAD_ON and KEY_TOUCHPAD_OFF For Maverick, F22 is the working key code for touchpad toggling. BugLink: http://bugs.launchpad.net/bugs/689393 Signed-off-by: Keng-Yu Lin <keng-yu.lin@canonical.com> --- drivers/platform/x86/eeepc-wmi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)