From patchwork Wed Dec 9 21:49:03 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephane Chatty X-Patchwork-Id: 66094 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 nB9LuM1a017124 for ; Wed, 9 Dec 2009 21:56:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753815AbZLIV4O (ORCPT ); Wed, 9 Dec 2009 16:56:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756156AbZLIV4O (ORCPT ); Wed, 9 Dec 2009 16:56:14 -0500 Received: from 89-230.252-81.static-ip.oleane.fr ([81.252.230.89]:48561 "EHLO smtp.lii-enac.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753815AbZLIV4N (ORCPT ); Wed, 9 Dec 2009 16:56:13 -0500 X-Greylist: delayed 435 seconds by postgrey-1.27 at vger.kernel.org; Wed, 09 Dec 2009 16:56:13 EST Received: by smtp.lii-enac.fr (DoorWays, from userid 2000) id D3A5D9520B; Wed, 9 Dec 2009 22:49:03 +0100 (CET) Date: Wed, 09 Dec 2009 22:49:03 +0100 To: linux-input@vger.kernel.org Subject: [PATCH 1/2] Support for Stantum multitouch panel User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Message-Id: <20091209214903.D3A5D9520B@smtp.lii-enac.fr> From: chatty@lii-enac.fr (Stephane Chatty) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org diff -uprN a/include/linux/hid.h b/include/linux/hid.h --- a/include/linux/hid.h 2009-12-03 04:51:21.000000000 +0100 +++ b/include/linux/hid.h 2009-12-08 22:30:46.000000000 +0100 @@ -662,7 +662,7 @@ struct hid_ll_driver { /* Applications from HID Usage Tables 4/8/99 Version 1.1 */ /* We ignore a few input applications that are not widely used */ -#define IS_INPUT_APPLICATION(a) (((a >= 0x00010000) && (a <= 0x00010008)) || (a == 0x00010080) || (a == 0x000c0001) || (a == 0x000d0002)) +#define IS_INPUT_APPLICATION(a) (((a >= 0x00010000) && (a <= 0x00010008)) || (a == 0x00010080) || (a == 0x000c0001) || ((a >= 0x000d0002) && (a <= 0x000d0006))) /* HID core API */