aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2007-09-04 23:16:04 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2007-09-04 23:16:04 -0400
commit9e3d3d07de1a9f2b83299653b75bfdbc0a8118f2 (patch)
treed32e214805185f47f5270a17e9d402239353fe4a /include/linux
parentb3e2c70cd0d05fb6621521521fbd5debed57d753 (diff)
Input: add more Braille keycodes
Some braille keyboards have 10 dots, so extend the Input braille keys definitions. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/input.h2
-rw-r--r--include/linux/keyboard.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index e02c6a66b2ba..17df5a7331c7 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -552,6 +552,8 @@ struct input_absinfo {
552#define KEY_BRL_DOT6 0x1f6 552#define KEY_BRL_DOT6 0x1f6
553#define KEY_BRL_DOT7 0x1f7 553#define KEY_BRL_DOT7 0x1f7
554#define KEY_BRL_DOT8 0x1f8 554#define KEY_BRL_DOT8 0x1f8
555#define KEY_BRL_DOT9 0x1f9
556#define KEY_BRL_DOT10 0x1fa
555 557
556/* We avoid low common keys in module aliases so they don't get huge. */ 558/* We avoid low common keys in module aliases so they don't get huge. */
557#define KEY_MIN_INTERESTING KEY_MUTE 559#define KEY_MIN_INTERESTING KEY_MUTE
diff --git a/include/linux/keyboard.h b/include/linux/keyboard.h
index de76843bbe8a..7ddbc30aa8e7 100644
--- a/include/linux/keyboard.h
+++ b/include/linux/keyboard.h
@@ -437,8 +437,10 @@ extern unsigned short plain_map[NR_KEYS];
437#define K_BRL_DOT6 K(KT_BRL, 6) 437#define K_BRL_DOT6 K(KT_BRL, 6)
438#define K_BRL_DOT7 K(KT_BRL, 7) 438#define K_BRL_DOT7 K(KT_BRL, 7)
439#define K_BRL_DOT8 K(KT_BRL, 8) 439#define K_BRL_DOT8 K(KT_BRL, 8)
440#define K_BRL_DOT9 K(KT_BRL, 9)
441#define K_BRL_DOT10 K(KT_BRL, 10)
440 442
441#define NR_BRL 9 443#define NR_BRL 11
442 444
443#define MAX_DIACR 256 445#define MAX_DIACR 256
444#endif 446#endif