]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Wed, 26 Dec 2012 16:07:28 +0000 (11:07 -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 6b5f927f083d70b8b88940d525d3db87daac8d1e..563dc3f0e3e7a5cc420d908e86eb8c34b856a6aa 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}
 };