diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-06-23 10:47:34 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-07-30 00:41:39 -0400 |
commit | 03bac96fae0efdb25e2059e5accbe4f3ee6328dd (patch) | |
tree | 294485345a4320c46cbae816428c9db85ba9f96b | |
parent | d6505ab9cd5672f99adeba86696499c2651a6e73 (diff) |
Input: expand keycode space
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>
-rw-r--r-- | include/linux/input.h | 2 | ||||
-rw-r--r-- | include/linux/mod_devicetable.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index a5802c9c81a4..7fae1dee356a 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -579,7 +579,7 @@ struct input_absinfo { | |||
579 | 579 | ||
580 | /* We avoid low common keys in module aliases so they don't get huge. */ | 580 | /* We avoid low common keys in module aliases so they don't get huge. */ |
581 | #define KEY_MIN_INTERESTING KEY_MUTE | 581 | #define KEY_MIN_INTERESTING KEY_MUTE |
582 | #define KEY_MAX 0x1ff | 582 | #define KEY_MAX 0x2ff |
583 | #define KEY_CNT (KEY_MAX+1) | 583 | #define KEY_CNT (KEY_MAX+1) |
584 | 584 | ||
585 | /* | 585 | /* |
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index c4db5827963d..0dddfa44ec19 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
@@ -274,7 +274,7 @@ struct pcmcia_device_id { | |||
274 | /* Input */ | 274 | /* Input */ |
275 | #define INPUT_DEVICE_ID_EV_MAX 0x1f | 275 | #define INPUT_DEVICE_ID_EV_MAX 0x1f |
276 | #define INPUT_DEVICE_ID_KEY_MIN_INTERESTING 0x71 | 276 | #define INPUT_DEVICE_ID_KEY_MIN_INTERESTING 0x71 |
277 | #define INPUT_DEVICE_ID_KEY_MAX 0x1ff | 277 | #define INPUT_DEVICE_ID_KEY_MAX 0x2ff |
278 | #define INPUT_DEVICE_ID_REL_MAX 0x0f | 278 | #define INPUT_DEVICE_ID_REL_MAX 0x0f |
279 | #define INPUT_DEVICE_ID_ABS_MAX 0x3f | 279 | #define INPUT_DEVICE_ID_ABS_MAX 0x3f |
280 | #define INPUT_DEVICE_ID_MSC_MAX 0x07 | 280 | #define INPUT_DEVICE_ID_MSC_MAX 0x07 |