From patchwork Thu Oct 22 09:32:20 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 55279 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 n9M9Wc0I007546 for ; Thu, 22 Oct 2009 09:32:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754528AbZJVJcd (ORCPT ); Thu, 22 Oct 2009 05:32:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754711AbZJVJcd (ORCPT ); Thu, 22 Oct 2009 05:32:33 -0400 Received: from smtp.nokia.com ([192.100.122.230]:30227 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754528AbZJVJcc (ORCPT ); Thu, 22 Oct 2009 05:32:32 -0400 Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n9M9WUK1022248; Thu, 22 Oct 2009 12:32:34 +0300 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 22 Oct 2009 12:32:26 +0300 Received: from mgw-da01.ext.nokia.com ([147.243.128.24]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 22 Oct 2009 12:32:25 +0300 Received: from localhost.localdomain (esdhcp043100.research.nokia.com [172.21.43.100]) by mgw-da01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n9M9WKuC021584; Thu, 22 Oct 2009 12:32:23 +0300 From: Jani Nikula To: dmitry.torokhov@gmail.com Cc: linux-input@vger.kernel.org, ext-jani.1.nikula@nokia.com Subject: [RFC PATCH 1/1] Input: add new keycodes useful in mobile devices Date: Thu, 22 Oct 2009 12:32:20 +0300 Message-Id: <72a6deb76f693b5e50dbfe150154e7a4724d0568.1256200562.git.ext-jani.1.nikula@nokia.com> X-Mailer: git-send-email 1.6.3.2 In-Reply-To: References: In-Reply-To: References: X-OriginalArrivalTime: 22 Oct 2009 09:32:26.0149 (UTC) FILETIME=[91002D50:01CA52FA] X-Nokia-AV: Clean Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org diff --git a/include/linux/input.h b/include/linux/input.h index 0ccfc30..3c246b1 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_PROXIMITY 0x0b /* set = proximity sensor covered */ #define SW_MAX 0x0f #define SW_CNT (SW_MAX+1)