diff options
author | AceLan Kao <acelan.kao@canonical.com> | 2012-10-03 05:26:29 -0400 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2013-02-24 17:49:55 -0500 |
commit | 98bfcb8e994404efc4832efec1c7ce533ef1fb67 (patch) | |
tree | 93436445fc48d0ed9e874ab23535afc843913146 | |
parent | 19d3ab12e84f110009fd94f0c7b7d3008fb3494c (diff) |
asus-nb-wmi: correct a touchpad hotkey mapping
0x60 is touchpad enable key, but is misdefined in the keymap.
Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
-rw-r--r-- | drivers/platform/x86/asus-nb-wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index 9f1caa72b307..75ce18c671ff 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c | |||
@@ -180,7 +180,7 @@ static const struct key_entry asus_nb_wmi_keymap[] = { | |||
180 | { KE_KEY, 0x5D, { KEY_WLAN } }, /* Wireless console Toggle */ | 180 | { KE_KEY, 0x5D, { KEY_WLAN } }, /* Wireless console Toggle */ |
181 | { KE_KEY, 0x5E, { KEY_WLAN } }, /* Wireless console Enable */ | 181 | { KE_KEY, 0x5E, { KEY_WLAN } }, /* Wireless console Enable */ |
182 | { KE_KEY, 0x5F, { KEY_WLAN } }, /* Wireless console Disable */ | 182 | { KE_KEY, 0x5F, { KEY_WLAN } }, /* Wireless console Disable */ |
183 | { KE_KEY, 0x60, { KEY_SWITCHVIDEOMODE } }, | 183 | { KE_KEY, 0x60, { KEY_TOUCHPAD_ON } }, |
184 | { KE_KEY, 0x61, { KEY_SWITCHVIDEOMODE } }, /* LCD Only */ | 184 | { KE_KEY, 0x61, { KEY_SWITCHVIDEOMODE } }, /* LCD Only */ |
185 | { KE_KEY, 0x62, { KEY_SWITCHVIDEOMODE } }, /* CRT Only */ | 185 | { KE_KEY, 0x62, { KEY_SWITCHVIDEOMODE } }, /* CRT Only */ |
186 | { KE_KEY, 0x63, { KEY_SWITCHVIDEOMODE } }, /* LCD + CRT */ | 186 | { KE_KEY, 0x63, { KEY_SWITCHVIDEOMODE } }, /* LCD + CRT */ |