From patchwork Sun Nov 28 08:07:43 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 362002 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 oAS9GPQX028815 for ; Sun, 28 Nov 2010 09:16:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751824Ab0K1JQY (ORCPT ); Sun, 28 Nov 2010 04:16:24 -0500 Received: from mail-yw0-f66.google.com ([209.85.213.66]:46100 "EHLO mail-yw0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750980Ab0K1JQX (ORCPT ); Sun, 28 Nov 2010 04:16:23 -0500 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sun, 28 Nov 2010 09:16:26 +0000 (UTC) X-Greylist: delayed 3350 seconds by postgrey-1.27 at vger.kernel.org; Sun, 28 Nov 2010 04:16:23 EST Received: by ywi6 with SMTP id 6so3519614ywi.1 for ; Sun, 28 Nov 2010 01:16:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=MbS3z6beUn15tIsyAUldOeYKxJcGaQmGY82k3wPpS6w=; b=f+wZKKC5UkGvMFzZF7ujG5NP7huujHRYQ++4HteJdh+qsgReXKigOc+EXko7m3uGva QssmFXueJEX7//zMeLawAZdJYdUvVJdw0lw4Udkt9riOIhjRFc/33Zsw1Z+sK7CmGFUe hYQNpnpQvKnAlGP04/xpJjDpg+zEbPjdb5zqU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=j7tPIvRuNYOuW4pXmcb0o1yeR+MA2Ac7H1rJFoXF499XwcbRMpkc6yDMPz6I3QwMjP Q1wTOuthtKodg2KH+uRxXx89sMeRCK8CF+Qq0lobtDIR0CDi6MAtVVuXCXuqOdIHeA54 tv/SFsxoyhX2gf2KFO5/z9quRv6HwEPKF5CQI= Received: by 10.100.171.3 with SMTP id t3mr3095448ane.83.1290931668806; Sun, 28 Nov 2010 00:07:48 -0800 (PST) Received: from mailhub.coreip.homeip.net (c-98-234-113-65.hsd1.ca.comcast.net [98.234.113.65]) by mx.google.com with ESMTPS id x39sm4256584ana.6.2010.11.28.00.07.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Nov 2010 00:07:47 -0800 (PST) Date: Sun, 28 Nov 2010 00:07:43 -0800 From: Dmitry Torokhov To: Thadeu Lima de Souza Cascardo Cc: linux-input@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: Input event for blocking touchpad Message-ID: <20101128080743.GE14499@core.coreip.homeip.net> References: <20101126211056.GD3819@barata.holoscopio.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20101126211056.GD3819@barata.holoscopio.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org diff --git a/include/linux/input.h b/include/linux/input.h index 6c3c986..a8af21d 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -643,6 +643,10 @@ struct input_keymap_entry { #define KEY_CAMERA_FOCUS 0x210 #define KEY_WPS_BUTTON 0x211 /* WiFi Protected Setup key */ +#define KEY_TOUCHPAD_TOGGLE 0x212 /* Request switch touchpad on or off */ +#define KEY_TOUCHPAD_ON 0x213 +#define KEY_TOUCHPAD_OFF 0x214 + #define BTN_TRIGGER_HAPPY 0x2c0 #define BTN_TRIGGER_HAPPY1 0x2c0 #define BTN_TRIGGER_HAPPY2 0x2c1