eeepc-wmi: Add support for T101MT Home/Express Gate key
authorSeth Forshee <seth.forshee@canonical.com>
Fri, 1 Jul 2011 09:34:28 +0000 (11:34 +0200)
committerMatthew Garrett <mjg@redhat.com>
Fri, 5 Aug 2011 18:45:50 +0000 (14:45 -0400)
commit6ae8b807371ba8d5b42648721c528582295136f7
tree5a5c9ee80a5f7d97f8db6745e8dbc3ec91b18b8c
parentc4453f6a7ceff330ff37a9712ee8305fc3f8e9b6
eeepc-wmi: Add support for T101MT Home/Express Gate key

This key is different than other hotkeys, having seperate scan
codes for press, release, and hold, so it requires some special
filtering. Press and release events are passed on, and hold events
are ignored since sparse-keymap does not support hardware
autorepeat.

Note that "Home" in the context of this button doesn't mean the
same thing as the usual Home key, and it really isn't clear at
all what is meant by "Home". The manufacurer's description of the
button indicates that it should launch some sort of touch screen
settings interface on short press and apply a desktop rotation on
long press.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/eeepc-wmi.c