summaryrefslogtreecommitdiff
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2006-04-02 00:10:28 -0500
committerDmitry Torokhov <dtor_core@ameritech.net>2006-04-02 00:10:28 -0500
commitb9ec4e109d7a342e83e1210e05797222e36555c3 (patch)
tree47ff5cb19c3b43f9907006e7b491df547f29b71e /include/linux/input.h
parent53a2670cd9611cf7c3b3bf9875b0b4041160fa60 (diff)
downloadlinux-3.10-b9ec4e109d7a342e83e1210e05797222e36555c3.tar.gz
linux-3.10-b9ec4e109d7a342e83e1210e05797222e36555c3.tar.bz2
linux-3.10-b9ec4e109d7a342e83e1210e05797222e36555c3.zip
Input: add support for Braille devices
- Add KEY_BRL_* input keys and K_BRL_* keycodes; - Add emulation of how braille keyboards usually combine braille dots to the console keyboard driver; - Add handling of unicode U+28xy diacritics. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r--include/linux/input.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 393da04f430..b0e612dda0c 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -512,6 +512,15 @@ struct input_absinfo {
#define KEY_FN_S 0x1e3
#define KEY_FN_B 0x1e4
+#define KEY_BRL_DOT1 0x1f1
+#define KEY_BRL_DOT2 0x1f2
+#define KEY_BRL_DOT3 0x1f3
+#define KEY_BRL_DOT4 0x1f4
+#define KEY_BRL_DOT5 0x1f5
+#define KEY_BRL_DOT6 0x1f6
+#define KEY_BRL_DOT7 0x1f7
+#define KEY_BRL_DOT8 0x1f8
+
/* We avoid low common keys in module aliases so they don't get huge. */
#define KEY_MIN_INTERESTING KEY_MUTE
#define KEY_MAX 0x1ff