Skip to content

Commit

Permalink
keyboard: advertise KT_DEAD2 extended diacriticals
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Samuel Thibault authored and Linus Torvalds committed Jun 14, 2009
1 parent 2625b10 commit 5a7e3d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/keyboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ extern int unregister_keyboard_notifier(struct notifier_block *nb);
#define KT_ASCII 9
#define KT_LOCK 10
#define KT_SLOCK 12
#define KT_DEAD2 13
#define KT_BRL 14

#define K(t,v) (((t)<<8)|(v))
Expand Down

0 comments on commit 5a7e3d1

Please sign in to comment.