提交 03bac96f 编写于 作者: D Dmitry Torokhov

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: NDmitry Torokhov <dtor@mail.ru>
上级 d6505ab9
...@@ -579,7 +579,7 @@ struct input_absinfo { ...@@ -579,7 +579,7 @@ struct input_absinfo {
/* We avoid low common keys in module aliases so they don't get huge. */ /* We avoid low common keys in module aliases so they don't get huge. */
#define KEY_MIN_INTERESTING KEY_MUTE #define KEY_MIN_INTERESTING KEY_MUTE
#define KEY_MAX 0x1ff #define KEY_MAX 0x2ff
#define KEY_CNT (KEY_MAX+1) #define KEY_CNT (KEY_MAX+1)
/* /*
......
...@@ -274,7 +274,7 @@ struct pcmcia_device_id { ...@@ -274,7 +274,7 @@ struct pcmcia_device_id {
/* Input */ /* Input */
#define INPUT_DEVICE_ID_EV_MAX 0x1f #define INPUT_DEVICE_ID_EV_MAX 0x1f
#define INPUT_DEVICE_ID_KEY_MIN_INTERESTING 0x71 #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_REL_MAX 0x0f
#define INPUT_DEVICE_ID_ABS_MAX 0x3f #define INPUT_DEVICE_ID_ABS_MAX 0x3f
#define INPUT_DEVICE_ID_MSC_MAX 0x07 #define INPUT_DEVICE_ID_MSC_MAX 0x07
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册