All of lore.kernel.org
 help / color / mirror / Atom feed
From: Corentin Chary <corentincj@iksaif.net>
To: lenb@kernel.org
Cc: linux-acpi@vger.kernel.org, Matthew Garrett <mjg59@srcf.ucam.org>,
	Matthew Garrett <mjg@redhat.com>,
	Corentin Chary <corentincj@iksaif.net>
Subject: [PATCH 07/10] eeepc-laptop: Add support for extended hotkeys
Date: Tue, 20 Jan 2009 16:17:46 +0100	[thread overview]
Message-ID: <1232464669-29619-8-git-send-email-corentincj@iksaif.net> (raw)
In-Reply-To: <1232464669-29619-1-git-send-email-corentincj@iksaif.net>

From: Matthew Garrett <mjg59@srcf.ucam.org>

Newer Eees have extra hotkeys above the function keys. This patch adds support
for sending them through the input layer.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
---
 drivers/platform/x86/eeepc-laptop.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c
index 66d611b..d153871 100644
--- a/drivers/platform/x86/eeepc-laptop.c
+++ b/drivers/platform/x86/eeepc-laptop.c
@@ -161,6 +161,10 @@ static struct key_entry eeepc_keymap[] = {
 	{KE_KEY, 0x13, KEY_MUTE },
 	{KE_KEY, 0x14, KEY_VOLUMEDOWN },
 	{KE_KEY, 0x15, KEY_VOLUMEUP },
+	{KE_KEY, 0x1a, KEY_COFFEE },
+	{KE_KEY, 0x1b, KEY_ZOOM },
+	{KE_KEY, 0x1c, KEY_PROG2 },
+	{KE_KEY, 0x1d, KEY_PROG3 },
 	{KE_KEY, 0x30, KEY_SWITCHVIDEOMODE },
 	{KE_KEY, 0x31, KEY_SWITCHVIDEOMODE },
 	{KE_KEY, 0x32, KEY_SWITCHVIDEOMODE },
-- 
1.6.1


  parent reply	other threads:[~2009-01-20 15:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-20 15:17 [PATCH 00/10] acpi4asus updates (eeepc-laptop, asus_acpi and asus-laptop) Corentin Chary
2009-01-20 15:17 ` [PATCH 01/10] eeepc-laptop: split eeepc_backlight_exit() Corentin Chary
2009-01-20 15:17 ` [PATCH 02/10] asus_acpi: Add R1F support Corentin Chary
2009-01-20 15:17 ` [PATCH 03/10] asus-laptop: use generic netlink interface Corentin Chary
2009-01-20 15:17 ` [PATCH 04/10] asus-laptop: hotkeys via the generic input interface Corentin Chary
2009-01-20 15:17 ` [PATCH 05/10] asus-laptop: update Kconfig for input layer Corentin Chary
2009-01-20 15:17 ` [PATCH 06/10] asus-laptop: fix label indentation Corentin Chary
2009-01-20 15:17 ` Corentin Chary [this message]
2009-01-20 15:17 ` [PATCH 08/10] eeepc-laptop: Check return values from rfkill_register Corentin Chary
2009-01-20 15:17 ` [PATCH 09/10] eeepc-laptop: Implement rfkill hotplugging in eeepc-laptop Corentin Chary
2009-01-20 15:17 ` [PATCH 10/10] eeepc-laptop: use netlink interface Corentin Chary
2009-01-20 19:41 ` [PATCH 00/10] acpi4asus updates (eeepc-laptop, asus_acpi and asus-laptop) Len Brown

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=1232464669-29619-8-git-send-email-corentincj@iksaif.net \
    --to=corentincj@iksaif.net \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=mjg@redhat.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.