From patchwork Thu Apr 1 09:23:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Kosina X-Patchwork-Id: 90101 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 o319NKLb016423 for ; Thu, 1 Apr 2010 09:24:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753536Ab0DAJXT (ORCPT ); Thu, 1 Apr 2010 05:23:19 -0400 Received: from cantor.suse.de ([195.135.220.2]:40125 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752993Ab0DAJXS (ORCPT ); Thu, 1 Apr 2010 05:23:18 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id A83968FEA2; Thu, 1 Apr 2010 11:23:16 +0200 (CEST) Date: Thu, 1 Apr 2010 11:23:16 +0200 (CEST) From: Jiri Kosina To: Attila Nagy Cc: stefan.bader@canonical.com, Dmitry Torokhov , linux-input@vger.kernel.org Subject: Re: joystick with large number of buttons In-Reply-To: Message-ID: References: <6121ee741003271645i2f091b9bq566edaa12b4b3561@mail.gmail.com> <6121ee741003300520r25a1d46dm189ee034272fa514@mail.gmail.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 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]); Thu, 01 Apr 2010 09:24:13 +0000 (UTC) diff -ru linux-2.6.33.1.clean/include/linux/input.h linux-2.6.33.1/include/linux/input.h --- linux-2.6.33.1.clean/include/linux/input.h Wed Mar 31 22:02:17 2010 +++ linux-2.6.33.1/include/linux/input.h Wed Mar 31 21:37:54 2010 @@ -642,7 +642,7 @@ /* We avoid low common keys in module aliases so they don't get huge. */ #define KEY_MIN_INTERESTING KEY_MUTE -#define KEY_MAX 0x2ff +#define KEY_MAX 0x34f #define KEY_CNT (KEY_MAX+1) /* diff -ru linux-2.6.33.1.clean/include/linux/mod_devicetable.h linux-2.6.33.1/include/linux/mod_devicetable.h --- linux-2.6.33.1.clean/include/linux/mod_devicetable.h Mon Mar 15 17:09:39 2010 +++ linux-2.6.33.1/include/linux/mod_devicetable.h Wed Mar 31 21:39:40 2010 @@ -285,7 +285,7 @@ /* Input */ #define INPUT_DEVICE_ID_EV_MAX 0x1f #define INPUT_DEVICE_ID_KEY_MIN_INTERESTING 0x71 -#define INPUT_DEVICE_ID_KEY_MAX 0x2ff +#define INPUT_DEVICE_ID_KEY_MAX 0x34f #define INPUT_DEVICE_ID_REL_MAX 0x0f #define INPUT_DEVICE_ID_ABS_MAX 0x3f #define INPUT_DEVICE_ID_MSC_MAX 0x07