lkml.org 
[lkml]   [2011]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 24 Mar 2011 08:33:33 +0100
SubjectRe: [PATCH] eeepc-wmi: Add support for T101MT "Express Gate" key
FromCorentin Chary <>
On Wed, Mar 23, 2011 at 8:39 PM, Seth Forshee
<seth.forshee@canonical.com> wrote:
> Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
> ---
>
> This button is unusual. On press it emits scanocde 0xe4, on release
> 0xe5, and when held for a few seconds it begins emitting 0xea about
> twice per second. I chose to handle only the press event in order to
> make it behave like the other hotkeys.
>
> Probably the closest thing to the intended function of this button
> would be to alternate the display orientation between portrait and
> landscape, but since there doesn't appear to be a keycode defined for
> that function I went with KEY_PROG2. I'm open to other suggestions
> however.

Hi,
The manual says that under Windows, this is the "Home Key", so
KEY_HOME would be more appropriate.
Also, it would be great to preserve key up and key down informations
(sparse keymap have an "autorelease" parameter to control that).
Thanks,

--
Corentin Chary
http://xf.iksaif.net


\
 
 \ /
  Last update: 2011-03-24 08:35    [from the cache]
©2003-2010