diff options
author | Corentin Chary <corentin.chary@gmail.com> | 2012-10-03 05:26:25 -0400 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2013-02-24 17:49:55 -0500 |
commit | 982d385ad1e8a485cfd54b30469b3710935990ba (patch) | |
tree | 65c6a1d692f805fd2ee15612c092ab2ba791d095 /drivers/platform | |
parent | c11ac2aa520b4777e5b063f8d8e99ce00337dcd9 (diff) |
asus-laptop: map some new keys
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/asus-laptop.c | 3 | ||||
-rw-r--r-- | drivers/platform/x86/asus-nb-wmi.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index d9f9a0dbc6f3..062ddd7791cc 100644 --- a/drivers/platform/x86/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c | |||
@@ -314,6 +314,8 @@ static const struct key_entry asus_keymap[] = { | |||
314 | {KE_KEY, 0x50, { KEY_EMAIL } }, | 314 | {KE_KEY, 0x50, { KEY_EMAIL } }, |
315 | {KE_KEY, 0x51, { KEY_WWW } }, | 315 | {KE_KEY, 0x51, { KEY_WWW } }, |
316 | {KE_KEY, 0x55, { KEY_CALC } }, | 316 | {KE_KEY, 0x55, { KEY_CALC } }, |
317 | {KE_IGNORE, 0x57, }, /* Battery mode */ | ||
318 | {KE_IGNORE, 0x58, }, /* AC mode */ | ||
317 | {KE_KEY, 0x5C, { KEY_SCREENLOCK } }, /* Screenlock */ | 319 | {KE_KEY, 0x5C, { KEY_SCREENLOCK } }, /* Screenlock */ |
318 | {KE_KEY, 0x5D, { KEY_WLAN } }, | 320 | {KE_KEY, 0x5D, { KEY_WLAN } }, |
319 | {KE_KEY, 0x5E, { KEY_WLAN } }, | 321 | {KE_KEY, 0x5E, { KEY_WLAN } }, |
@@ -325,6 +327,7 @@ static const struct key_entry asus_keymap[] = { | |||
325 | {KE_KEY, 0x6B, { KEY_F13 } }, /* Lock Touchpad */ | 327 | {KE_KEY, 0x6B, { KEY_F13 } }, /* Lock Touchpad */ |
326 | {KE_KEY, 0x6C, { KEY_SLEEP } }, /* Suspend */ | 328 | {KE_KEY, 0x6C, { KEY_SLEEP } }, /* Suspend */ |
327 | {KE_KEY, 0x6D, { KEY_SLEEP } }, /* Hibernate */ | 329 | {KE_KEY, 0x6D, { KEY_SLEEP } }, /* Hibernate */ |
330 | {KE_IGNORE, 0x6E, }, /* Low Battery notification */ | ||
328 | {KE_KEY, 0x7E, { KEY_BLUETOOTH } }, | 331 | {KE_KEY, 0x7E, { KEY_BLUETOOTH } }, |
329 | {KE_KEY, 0x7D, { KEY_BLUETOOTH } }, | 332 | {KE_KEY, 0x7D, { KEY_BLUETOOTH } }, |
330 | {KE_KEY, 0x82, { KEY_CAMERA } }, | 333 | {KE_KEY, 0x82, { KEY_CAMERA } }, |
diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index be790402e0f1..b70425c58638 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c | |||
@@ -185,6 +185,7 @@ static const struct key_entry asus_nb_wmi_keymap[] = { | |||
185 | { KE_KEY, 0x62, { KEY_SWITCHVIDEOMODE } }, | 185 | { KE_KEY, 0x62, { KEY_SWITCHVIDEOMODE } }, |
186 | { KE_KEY, 0x63, { KEY_SWITCHVIDEOMODE } }, | 186 | { KE_KEY, 0x63, { KEY_SWITCHVIDEOMODE } }, |
187 | { KE_KEY, 0x6B, { KEY_TOUCHPAD_TOGGLE } }, | 187 | { KE_KEY, 0x6B, { KEY_TOUCHPAD_TOGGLE } }, |
188 | { KE_IGNORE, 0x6E, }, /* Low Battery notification */ | ||
188 | { KE_KEY, 0x7D, { KEY_BLUETOOTH } }, | 189 | { KE_KEY, 0x7D, { KEY_BLUETOOTH } }, |
189 | { KE_KEY, 0x7E, { KEY_BLUETOOTH } }, | 190 | { KE_KEY, 0x7E, { KEY_BLUETOOTH } }, |
190 | { KE_KEY, 0x82, { KEY_CAMERA } }, | 191 | { KE_KEY, 0x82, { KEY_CAMERA } }, |