diff options
author | Corentin Chary <corentincj@iksaif.net> | 2012-03-20 12:53:02 +0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-03-26 23:05:31 +0400 |
commit | 9b05ea24375f23a209f768c9069d24ede938ce50 (patch) | |
tree | 8f8442a7145b7a1f802be0d2ebaf5c66d074576b | |
parent | c08f2086cd0838465394eb51c2649ce91fbb8cc3 (diff) | |
download | linux-9b05ea24375f23a209f768c9069d24ede938ce50.tar.xz |
asus-nb-wmi: ignore useless keys
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
-rw-r--r-- | drivers/platform/x86/asus-nb-wmi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c index b0859d4183e8..350112736023 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c @@ -70,6 +70,8 @@ static const struct key_entry asus_nb_wmi_keymap[] = { { KE_KEY, 0x50, { KEY_EMAIL } }, { KE_KEY, 0x51, { KEY_WWW } }, { KE_KEY, 0x55, { KEY_CALC } }, + { KE_IGNORE, 0x57, }, /* Battery mode */ + { KE_IGNORE, 0x58, }, /* AC mode */ { KE_KEY, 0x5C, { KEY_F15 } }, /* Power Gear key */ { KE_KEY, 0x5D, { KEY_WLAN } }, /* Wireless console Toggle */ { KE_KEY, 0x5E, { KEY_WLAN } }, /* Wireless console Enable */ |