From: Samuel Thibault Date: Sat, 13 Jun 2009 12:52:33 +0000 (+0200) Subject: keyboard: advertise KT_DEAD2 extended diacriticals X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5a7e3d1281bbc4404b250b4a18d3ecb07c77640c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 . 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 Signed-off-by: Linus Torvalds --- diff --git a/include/linux/keyboard.h b/include/linux/keyboard.h index a3c984d780f..33a63f62d57 100644 --- a/include/linux/keyboard.h +++ b/include/linux/keyboard.h @@ -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))