summaryrefslogtreecommitdiff
path: root/include/uapi/linux/keyboard.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-10-29 14:32:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-04 18:43:38 +0300
commitee49df4505347daa68d87e318503d2037154ee6a (patch)
treeb235ae93342507d426bb10e18412bfb65e2d7475 /include/uapi/linux/keyboard.h
parent877a9c6a0439afbb2675e4e70ca4216912124772 (diff)
downloadlinux-ee49df4505347daa68d87e318503d2037154ee6a.tar.xz
vt: keyboard, sort key types by their number
KT_LETTER was numerically missorted. So sort all KT_* entries. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20201029113222.32640-4-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/keyboard.h')
-rw-r--r--include/uapi/linux/keyboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/keyboard.h b/include/uapi/linux/keyboard.h
index 4846716e7c5c..36d230cedf12 100644
--- a/include/uapi/linux/keyboard.h
+++ b/include/uapi/linux/keyboard.h
@@ -27,7 +27,6 @@
#define MAX_NR_FUNC 256 /* max nr of strings assigned to keys */
#define KT_LATIN 0 /* we depend on this being zero */
-#define KT_LETTER 11 /* symbol that can be acted upon by CapsLock */
#define KT_FN 1
#define KT_SPEC 2
#define KT_PAD 3
@@ -38,6 +37,7 @@
#define KT_META 8
#define KT_ASCII 9
#define KT_LOCK 10
+#define KT_LETTER 11 /* symbol that can be acted upon by CapsLock */
#define KT_SLOCK 12
#define KT_DEAD2 13
#define KT_BRL 14