All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Corentin Chary <corentin.chary@gmail.com>
Cc: Joey Lee <jlee@novell.com>, Takashi Iwai <tiwai@novell.com>,
	Thomas Renninger <trenn@novell.com>,
	mjg59@srcf.ucam.org, carlos@strangeworlds.co.uk, jbenc@suse.cz,
	linux-input@vger.kernel.org, platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH 1/3] Add acer wmi hotkey events support
Date: Mon, 18 Oct 2010 01:25:25 -0700	[thread overview]
Message-ID: <20101018082525.GE8655@core.coreip.homeip.net> (raw)
In-Reply-To: <AANLkTimxdxSz3rnbwjEzftwY_3XrUJABB9sCXPSz-J_N@mail.gmail.com>

On Mon, Oct 18, 2010 at 10:19:37AM +0200, Corentin Chary wrote:
> On Mon, Oct 18, 2010 at 10:12 AM, Dmitry Torokhov
> <dmitry.torokhov@gmail.com> wrote:
> > On Sun, Oct 17, 2010 at 10:53:04PM -0600, Joey Lee wrote:
> >> +static const struct key_entry acer_wmi_keymap[] = {
> >> +     {KE_KEY, 0x01, {KEY_WLAN} },     /* WiFi */
> >> +     {KE_KEY, 0x12, {KEY_BLUETOOTH} },       /* BT */
> >> +     {KE_KEY, 0x21, {KEY_PROG1} },    /* Backup */
> >> +     {KE_KEY, 0x22, {KEY_PROG2} },    /* Aracade */
> >> +     {KE_KEY, 0x23, {KEY_PROG3} },    /* P_Key */
> >> +     {KE_KEY, 0x24, {KEY_PROG4} },    /* Social networking_Key */
> >> +     {KE_KEY, 0x64, {KEY_SWITCHVIDEOMODE} }, /* Display Switch */
> >> +     {KE_KEY, 0x82, {KEY_F22} },      /* Touch Pad On/Off */
> >
> > We need to standardize this. Some people use F13/F14, here we have
> > F22...
> >
> 
> The good thing with F* keys, is that they are already mapped in X/Qt/SDL/etc..
> 
> But if we do, we could add KEY_TOUCHPADTOGGLE 0x1b8
> Then bind it to XF86XK_TouchpadToggle (what's the right way to do that
> ? keymaps ?)
> 

I wonder who the main consumers of such events will be... X applications
or daemons that listen turn this into some DBUS signal...

-- 
Dmitry

  reply	other threads:[~2010-10-18  8:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-18  4:53 [PATCH 1/3] Add acer wmi hotkey events support Joey Lee
2010-10-18  4:53 ` Joey Lee
2010-10-18  8:12 ` Dmitry Torokhov
2010-10-18  8:19   ` Corentin Chary
2010-10-18  8:25     ` Dmitry Torokhov [this message]
2010-10-18  8:47       ` Corentin Chary
2010-10-18  9:26         ` Takashi Iwai
2010-10-18  9:23     ` Matthew Garrett
2010-10-18 23:48       ` Dmitry Torokhov
  -- strict thread matches above, loose matches on Subject: below --
2010-10-19  9:43 Joey Lee
2010-10-19 15:53 ` Dmitry Torokhov
2010-10-19  9:35 Joey Lee
2010-10-19  9:31 Joey Lee
2010-10-13  3:47 Lee, Chun-Yi
2010-10-13 18:24 ` Dmitry Torokhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101018082525.GE8655@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=carlos@strangeworlds.co.uk \
    --cc=corentin.chary@gmail.com \
    --cc=jbenc@suse.cz \
    --cc=jlee@novell.com \
    --cc=linux-input@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=tiwai@novell.com \
    --cc=trenn@novell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.