aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/keyboard.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-06-13 08:52:33 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-14 16:50:36 -0400
commit5a7e3d1281bbc4404b250b4a18d3ecb07c77640c (patch)
tree418a84281f2d2334814ffdb20ad4e3ab41284476 /include/linux/keyboard.h
parent2625b10d8c37656cf410a464ed95942b3abbd1f6 (diff)
keyboard: advertise KT_DEAD2 extended diacriticals
In addition to KT_DEAD which has limited support for diacriticals, there is KT_DEAD2 that can support 256 criticals, so let's advertise it in <linux/keyboard.h>. This lets userland know abut the drivers/char/keyboard.c function k_dead2, which supports more than the few trivial ones that k_dead supports. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/keyboard.h')
-rw-r--r--include/linux/keyboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/keyboard.h b/include/linux/keyboard.h
index a3c984d780f0..33a63f62d57f 100644
--- a/include/linux/keyboard.h
+++ b/include/linux/keyboard.h
@@ -56,6 +56,7 @@ extern int unregister_keyboard_notifier(struct notifier_block *nb);
56#define KT_ASCII 9 56#define KT_ASCII 9
57#define KT_LOCK 10 57#define KT_LOCK 10
58#define KT_SLOCK 12 58#define KT_SLOCK 12
59#define KT_DEAD2 13
59#define KT_BRL 14 60#define KT_BRL 14
60 61
61#define K(t,v) (((t)<<8)|(v)) 62#define K(t,v) (((t)<<8)|(v))