From patchwork Wed Nov 4 15:13:57 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 57604 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 nA4FEVJj005493 for ; Wed, 4 Nov 2009 15:14:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755203AbZKDPOY (ORCPT ); Wed, 4 Nov 2009 10:14:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755803AbZKDPOY (ORCPT ); Wed, 4 Nov 2009 10:14:24 -0500 Received: from smtp.nokia.com ([192.100.122.230]:20911 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755361AbZKDPOX (ORCPT ); Wed, 4 Nov 2009 10:14:23 -0500 Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id nA4FE5Gq001735; Wed, 4 Nov 2009 17:14:19 +0200 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 4 Nov 2009 17:14:14 +0200 Received: from mgw-sa02.ext.nokia.com ([147.243.1.48]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 4 Nov 2009 17:14:14 +0200 Received: from localhost.localdomain (esdhcp043100.research.nokia.com [172.21.43.100]) by mgw-sa02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id nA4FE2hu004739; Wed, 4 Nov 2009 17:14:12 +0200 From: Jani Nikula To: tony@atomide.com, dmitry.torokhov@gmail.com Cc: james@mastros.biz, linux-omap@vger.kernel.org, linux-input@vger.kernel.org, ext-jani.1.nikula@nokia.com Subject: [PATCH v2 1/2] Input: add new keycodes useful in mobile devices Date: Wed, 4 Nov 2009 17:13:57 +0200 Message-Id: X-Mailer: git-send-email 1.6.5.2 In-Reply-To: References: In-Reply-To: References: X-OriginalArrivalTime: 04 Nov 2009 15:14:14.0055 (UTC) FILETIME=[78090B70:01CA5D61] 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..0e25401 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_LENS_COVER 0x09 /* set = lens 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)