]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Input: expand keycode space
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Jun 2008 14:47:34 +0000 (10:47 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Jul 2008 04:41:39 +0000 (00:41 -0400)
Expand the number of potential key codes from 512 to 768 since people
are coming up with more and more keys.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
include/linux/input.h
include/linux/mod_devicetable.h

index a5802c9c81a47831996a93cffc00fcb7190d4089..7fae1dee356a6c43ad6c491c7f0f2f57139e0ebd 100644 (file)
@@ -579,7 +579,7 @@ struct input_absinfo {
 
 /* We avoid low common keys in module aliases so they don't get huge. */
 #define KEY_MIN_INTERESTING    KEY_MUTE
-#define KEY_MAX                        0x1ff
+#define KEY_MAX                        0x2ff
 #define KEY_CNT                        (KEY_MAX+1)
 
 /*
index c4db5827963d98a5624ec1c8fb637ad959903a75..0dddfa44ec19e5e06f1b3c38ed3e19a85661e17e 100644 (file)
@@ -274,7 +274,7 @@ struct pcmcia_device_id {
 /* Input */
 #define INPUT_DEVICE_ID_EV_MAX         0x1f
 #define INPUT_DEVICE_ID_KEY_MIN_INTERESTING    0x71
-#define INPUT_DEVICE_ID_KEY_MAX                0x1ff
+#define INPUT_DEVICE_ID_KEY_MAX                0x2ff
 #define INPUT_DEVICE_ID_REL_MAX                0x0f
 #define INPUT_DEVICE_ID_ABS_MAX                0x3f
 #define INPUT_DEVICE_ID_MSC_MAX                0x07