diff mbox

joystick with large number of buttons

Message ID alpine.LNX.2.00.1004011121240.8345@pobox.suse.cz (mailing list archive)
State New, archived
Headers show

Commit Message

Jiri Kosina April 1, 2010, 9:23 a.m. UTC
None
diff mbox

Patch

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