From patchwork Mon Apr 19 17:14:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Mack X-Patchwork-Id: 93527 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3JHEM3p015736 for ; Mon, 19 Apr 2010 17:14:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754534Ab0DSROS (ORCPT ); Mon, 19 Apr 2010 13:14:18 -0400 Received: from buzzloop.caiaq.de ([212.112.241.133]:60677 "EHLO buzzloop.caiaq.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754492Ab0DSROS (ORCPT ); Mon, 19 Apr 2010 13:14:18 -0400 Received: from localhost (localhost [127.0.0.1]) by buzzloop.caiaq.de (Postfix) with ESMTP id F134D7F403C; Mon, 19 Apr 2010 19:14:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at buzzloop.caiaq.de Received: from buzzloop.caiaq.de ([127.0.0.1]) by localhost (buzzloop.caiaq.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c8wvheUTytDD; Mon, 19 Apr 2010 19:14:14 +0200 (CEST) Received: by buzzloop.caiaq.de (Postfix, from userid 1000) id 31B9A7F403B; Mon, 19 Apr 2010 19:14:12 +0200 (CEST) Date: Mon, 19 Apr 2010 19:14:12 +0200 From: Daniel Mack To: linux-input@vger.kernel.org Cc: Dmitry Torokhov Subject: ABS_MAX incrementation? Message-ID: <20100419171412.GH30801@buzzloop.caiaq.de> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) 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 (demeter.kernel.org [140.211.167.41]); Mon, 19 Apr 2010 17:14:22 +0000 (UTC) diff --git a/include/linux/input.h b/include/linux/input.h index 7ed2251..39efad4 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -706,7 +706,24 @@ struct input_absinfo { #define ABS_MT_TRACKING_ID 0x39 /* Unique ID of initiated contact */ #define ABS_MT_PRESSURE 0x3a /* Pressure on contact area */ -#define ABS_MAX 0x3f +#define ABS_PAD1 0x40 +#define ABS_PAD2 0x41 +#define ABS_PAD3 0x42 +#define ABS_PAD4 0x43 +#define ABS_PAD5 0x44 +#define ABS_PAD6 0x45 +#define ABS_PAD7 0x46 +#define ABS_PAD8 0x47 +#define ABS_PAD9 0x48 +#define ABS_PAD10 0x49 +#define ABS_PAD11 0x4a +#define ABS_PAD12 0x4b +#define ABS_PAD13 0x4c +#define ABS_PAD14 0x4d +#define ABS_PAD15 0x4e +#define ABS_PAD16 0x4f + +#define ABS_MAX 0x4f #define ABS_CNT (ABS_MAX+1) /*