[PATCH] acer-wmi: add Aspire 5741G touchpad toggle key

From: Sergey Senozhatsky
Date: Thu Mar 29 2012 - 05:53:31 EST


acer-wmi: add Aspire 5741G touchpad toggle key

add Aspire 5741G KEY_TOUCHPAD_TOGGLE to wmi keymap.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>

---

drivers/platform/x86/acer-wmi.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index c1a3fd8..94a6747 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -125,6 +125,7 @@ static const struct key_entry acer_wmi_keymap[] = {
{KE_KEY, 0x64, {KEY_SWITCHVIDEOMODE} }, /* Display Switch */
{KE_IGNORE, 0x81, {KEY_SLEEP} },
{KE_KEY, 0x82, {KEY_TOUCHPAD_TOGGLE} }, /* Touch Pad On/Off */
+ {KE_KEY, 0x85, {KEY_TOUCHPAD_TOGGLE} },
{KE_IGNORE, 0x83, {KEY_TOUCHPAD_TOGGLE} },
{KE_END, 0}
};
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/