From patchwork Tue Jan 20 15:17:46 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Chary X-Patchwork-Id: 3307 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n0KFDM04027971 for ; Tue, 20 Jan 2009 07:13:28 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757217AbZATPSA (ORCPT ); Tue, 20 Jan 2009 10:18:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757232AbZATPSA (ORCPT ); Tue, 20 Jan 2009 10:18:00 -0500 Received: from iksaif.net ([88.191.73.63]:59564 "EHLO iksaif.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757217AbZATPR5 (ORCPT ); Tue, 20 Jan 2009 10:17:57 -0500 Received: from localhost.localdomain (cxr69-11-88-180-139-205.fbx.proxad.net [88.180.139.205]) (Authenticated sender: corentincj@iksaif.net) by iksaif.net (Postfix) with ESMTPA id 67551C9005D; Tue, 20 Jan 2009 16:20:15 +0100 (CET) From: Corentin Chary To: lenb@kernel.org Cc: linux-acpi@vger.kernel.org, Matthew Garrett , Matthew Garrett , Corentin Chary Subject: [PATCH 07/10] eeepc-laptop: Add support for extended hotkeys Date: Tue, 20 Jan 2009 16:17:46 +0100 Message-Id: <1232464669-29619-8-git-send-email-corentincj@iksaif.net> X-Mailer: git-send-email 1.6.1 In-Reply-To: <1232464669-29619-1-git-send-email-corentincj@iksaif.net> References: <1232464669-29619-1-git-send-email-corentincj@iksaif.net> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Matthew Garrett 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 Signed-off-by: Corentin Chary --- 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 },