From: Samuel Thibault Some braille keyboards have 10 dots, so extend the Input braille keys definitions. Signed-off-by: Samuel Thibault Cc: Jiri Kosina Cc: Dmitry Torokhov Signed-off-by: Andrew Morton --- include/linux/input.h | 2 ++ include/linux/keyboard.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff -puN include/linux/input.h~10-dots-braille-keyboards include/linux/input.h --- a/include/linux/input.h~10-dots-braille-keyboards +++ a/include/linux/input.h @@ -559,6 +559,8 @@ struct input_absinfo { #define KEY_BRL_DOT6 0x1f6 #define KEY_BRL_DOT7 0x1f7 #define KEY_BRL_DOT8 0x1f8 +#define KEY_BRL_DOT9 0x1f9 +#define KEY_BRL_DOT10 0x1fa /* We avoid low common keys in module aliases so they don't get huge. */ #define KEY_MIN_INTERESTING KEY_MUTE diff -puN include/linux/keyboard.h~10-dots-braille-keyboards include/linux/keyboard.h --- a/include/linux/keyboard.h~10-dots-braille-keyboards +++ a/include/linux/keyboard.h @@ -439,8 +439,10 @@ extern unsigned short plain_map[NR_KEYS] #define K_BRL_DOT6 K(KT_BRL, 6) #define K_BRL_DOT7 K(KT_BRL, 7) #define K_BRL_DOT8 K(KT_BRL, 8) +#define K_BRL_DOT9 K(KT_BRL, 9) +#define K_BRL_DOT10 K(KT_BRL, 10) -#define NR_BRL 9 +#define NR_BRL 11 #define MAX_DIACR 256 #endif _