From patchwork Fri Oct 30 13:38:26 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 56614 X-Patchwork-Delegate: tony@atomide.com 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 n9UDd1Td032404 for ; Fri, 30 Oct 2009 13:39:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757226AbZJ3Niz (ORCPT ); Fri, 30 Oct 2009 09:38:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757239AbZJ3Niz (ORCPT ); Fri, 30 Oct 2009 09:38:55 -0400 Received: from smtp.nokia.com ([192.100.122.233]:61687 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757219AbZJ3Niy (ORCPT ); Fri, 30 Oct 2009 09:38:54 -0400 Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n9UDca6f026260; Fri, 30 Oct 2009 15:38:52 +0200 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 30 Oct 2009 15:38:35 +0200 Received: from mgw-da02.ext.nokia.com ([147.243.128.26]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 30 Oct 2009 15:38:34 +0200 Received: from localhost.localdomain (esdhcp043100.research.nokia.com [172.21.43.100]) by mgw-da02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n9UDcSCC019477; Fri, 30 Oct 2009 15:38:31 +0200 From: Jani Nikula To: tony@atomide.com, dmitry.torokhov@gmail.com Cc: linux-omap@vger.kernel.org, linux-input@vger.kernel.org, ext-jani.1.nikula@nokia.com Subject: [PATCH 1/3] Input: add new keycodes useful in mobile devices Date: Fri, 30 Oct 2009 15:38:26 +0200 Message-Id: <48e6c73d2c8e67e1d2eec68556e7885f6d10c203.1256907278.git.ext-jani.1.nikula@nokia.com> X-Mailer: git-send-email 1.6.5.2 In-Reply-To: References: <20091027162040.GB22541@core.coreip.homeip.net> In-Reply-To: References: X-OriginalArrivalTime: 30 Oct 2009 13:38:34.0964 (UTC) FILETIME=[47348140:01CA5966] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/include/linux/input.h b/include/linux/input.h index 0ccfc30..c90a177 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -595,6 +595,8 @@ struct input_absinfo { #define KEY_NUMERIC_STAR 0x20a #define KEY_NUMERIC_POUND 0x20b +#define KEY_CAMERA_FOCUS 0x210 + /* We avoid low common keys in module aliases so they don't get huge. */ #define KEY_MIN_INTERESTING KEY_MUTE #define KEY_MAX 0x2ff @@ -677,6 +679,9 @@ struct input_absinfo { #define SW_LINEOUT_INSERT 0x06 /* set = inserted */ #define SW_JACK_PHYSICAL_INSERT 0x07 /* set = mechanical switch set */ #define SW_VIDEOOUT_INSERT 0x08 /* set = inserted */ +#define SW_CAMERA_LENSE_COVER 0x09 /* set = lense covered */ +#define SW_KEYPAD_SLIDE 0x0a /* set = keypad slide out */ +#define SW_FRONT_PROXIMITY 0x0b /* set = front proximity active */ #define SW_MAX 0x0f #define SW_CNT (SW_MAX+1)