Skip to content

Commit 5a7e3d1

Browse files
sthibaultorvalds
authored andcommitted
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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 2625b10 commit 5a7e3d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/keyboard.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ extern int unregister_keyboard_notifier(struct notifier_block *nb);
5656
#define KT_ASCII 9
5757
#define KT_LOCK 10
5858
#define KT_SLOCK 12
59+
#define KT_DEAD2 13
5960
#define KT_BRL 14
6061

6162
#define K(t,v) (((t)<<8)|(v))

0 commit comments

Comments
 (0)