提交 5a7e3d12 编写于 作者: S Samuel Thibault 提交者: Linus Torvalds

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: NSamuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 2625b10d
...@@ -56,6 +56,7 @@ extern int unregister_keyboard_notifier(struct notifier_block *nb); ...@@ -56,6 +56,7 @@ extern int unregister_keyboard_notifier(struct notifier_block *nb);
#define KT_ASCII 9 #define KT_ASCII 9
#define KT_LOCK 10 #define KT_LOCK 10
#define KT_SLOCK 12 #define KT_SLOCK 12
#define KT_DEAD2 13
#define KT_BRL 14 #define KT_BRL 14
#define K(t,v) (((t)<<8)|(v)) #define K(t,v) (((t)<<8)|(v))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册