From patchwork Mon Nov 8 12:42:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastien Nocera X-Patchwork-Id: 308282 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oA8CgQG1030376 for ; Mon, 8 Nov 2010 12:42:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752529Ab0KHMmT (ORCPT ); Mon, 8 Nov 2010 07:42:19 -0500 Received: from relay4-v.mail.gandi.net ([217.70.178.78]:60491 "EHLO relay4-v.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751469Ab0KHMmT (ORCPT ); Mon, 8 Nov 2010 07:42:19 -0500 X-Originating-IP: 217.70.178.44 Received: from mfilter3-d.gandi.net (mfilter3-d.gandi.net [217.70.178.44]) by relay4-v.mail.gandi.net (Postfix) with ESMTP id 197CBBA4D; Mon, 8 Nov 2010 13:42:17 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter3-d.gandi.net Received: from relay4-v.mail.gandi.net ([217.70.178.78]) by mfilter3-d.gandi.net (mfilter3-d.gandi.net [217.70.178.44]) (amavisd-new, port 10024) with ESMTP id C6jv8OWGyHQT; Mon, 8 Nov 2010 13:42:13 +0100 (CET) X-Originating-IP: 80.4.117.127 Received: from [192.168.1.106] (cpc6-glfd5-2-0-cust126.6-2.cable.virginmedia.com [80.4.117.127]) (Authenticated sender: hadess@hadess.net) by relay4-v.mail.gandi.net (Postfix) with ESMTPSA id 9FE8EBA50; Mon, 8 Nov 2010 13:42:12 +0100 (CET) Subject: [PATCH] Input: Add keycodes for touchpad on/off keys From: Bastien Nocera To: linux-input , Dmitry Torokhov Date: Mon, 08 Nov 2010 12:42:10 +0000 Message-ID: <1289220130.5418.109.camel@novo.hadess.net> Mime-Version: 1.0 X-Mailer: Evolution 2.32.0 (2.32.0-2.fc14) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 08 Nov 2010 12:42:27 +0000 (UTC) diff --git a/include/linux/input.h b/include/linux/input.h index 896a922..46dca75 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -545,6 +545,10 @@ struct input_absinfo { #define KEY_CONTEXT_MENU 0x1b6 /* GenDesc - system context menu */ #define KEY_MEDIA_REPEAT 0x1b7 /* Consumer - transport control */ +#define KEY_TOUCHPAD_TOGGLE 0x1b8 /* Ask user-space to switch the touchpad off */ +#define KEY_TOUCHPAD_ON 0x1b9 /* Tell user-space touchpad is now on */ +#define KEY_TOUCHPAD_OFF 0x1ba /* As above but off */ + #define KEY_DEL_EOL 0x1c0 #define KEY_DEL_EOS 0x1c1 #define KEY_INS_LINE 0x1c2