acer-wmi: add Aspire 5741G touchpad toggle key
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Mon, 26 Nov 2012 18:35:02 +0000 (21:35 +0300)
committerMatthew Garrett <matthew.garrett@nebula.com>
Mon, 7 Jan 2013 17:32:04 +0000 (12:32 -0500)
Add Aspire 5741G KEY_TOUCHPAD_TOGGLE to wmi keymap, preventing
"acer_wmi: Unknown key number - 0x85" error.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/acer-wmi.c

index 44f62b2..afed701 100644 (file)
@@ -129,6 +129,7 @@ static const struct key_entry acer_wmi_keymap[] = {
        {KE_KEY, KEY_TOUCHPAD_ON, {KEY_TOUCHPAD_ON} },
        {KE_KEY, KEY_TOUCHPAD_OFF, {KEY_TOUCHPAD_OFF} },
        {KE_IGNORE, 0x83, {KEY_TOUCHPAD_TOGGLE} },
+       {KE_KEY, 0x85, {KEY_TOUCHPAD_TOGGLE} },
        {KE_END, 0}
 };