projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
877a9c6
)
vt: keyboard, sort key types by their number
author
Jiri Slaby
<jslaby@suse.cz>
Thu, 29 Oct 2020 11:32:09 +0000
(12:32 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 4 Nov 2020 15:43:38 +0000
(16:43 +0100)
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>
include/uapi/linux/keyboard.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/keyboard.h
b/include/uapi/linux/keyboard.h
index 4846716e7c5c8c8d34f24011f18a3c14f1084cf2..36d230cedf124896af785c063b2f2dcd48f4ff98 100644
(file)
--- 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