public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/3] eeepc-laptop: Add support for extended hotkeys
@ 2008-11-20 15:36 Matthew Garrett
  2008-11-20 15:37 ` [PATCH v2 2/3] eeepc-laptop: Check return values from rfkill_register Matthew Garrett
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Matthew Garrett @ 2008-11-20 15:36 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Jenkins, Corentin Chary, ecc, linux acpi

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>
---
 drivers/misc/eeepc-laptop.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/misc/eeepc-laptop.c b/drivers/misc/eeepc-laptop.c
index 9ef98b2..e81ef18 100644
--- a/drivers/misc/eeepc-laptop.c
+++ b/drivers/misc/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 },

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-01-20 15:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 15:36 [PATCH v2 1/3] eeepc-laptop: Add support for extended hotkeys Matthew Garrett
2008-11-20 15:37 ` [PATCH v2 2/3] eeepc-laptop: Check return values from rfkill_register Matthew Garrett
2008-11-20 15:37 ` [PATCH v2 3/3] eeepc-laptop: Implement rfkill hotplugging in eeepc-laptop Matthew Garrett
2008-12-28 15:20 ` [PATCH v2 1/3] eeepc-laptop: Add support for extended hotkeys Matthew Garrett
2008-12-29 11:12   ` Corentin Chary
2009-01-18 10:04     ` Alan Jenkins
2009-01-20 15:08       ` Corentin Chary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox