Blame SOURCES/kbd-1.15-keycodes-man.patch

55a0e2
diff -up kbd-2.3.0/docs/man/man1/showkey.1.orig kbd-2.3.0/docs/man/man1/showkey.1
55a0e2
--- kbd-2.3.0/docs/man/man1/showkey.1.orig	2020-07-08 19:25:47.000000000 +0200
55a0e2
+++ kbd-2.3.0/docs/man/man1/showkey.1	2020-07-16 08:56:15.970254183 +0200
55a0e2
@@ -84,6 +84,19 @@ corresponds to what the keyboard hardwar
55a0e2
 to know the scan codes sent by various keys it is better to boot a
55a0e2
 2.4 kernel. Since 2.6.9 there also is the boot option atkbd.softraw=0
55a0e2
 that tells the 2.6 kernel to return the actual scan codes.
55a0e2
+
55a0e2
+.SH NOTES
55a0e2
+The raw scan codes are available only on AT and PS/2 keyboards,
55a0e2
+and even then they are disabled unless the
55a0e2
+.B atkbd.softraw=0
55a0e2
+kernel parameter is used.
55a0e2
+When the raw scan codes are not available, the kernel uses a fixed built-in
55a0e2
+table to produce scan codes from keycodes.  Thus,
55a0e2
+.BR setkeycodes (8)
55a0e2
+can affect the output of
55a0e2
+.B showkey
55a0e2
+in scan code dump mode.
55a0e2
+
55a0e2
 .SH "SEE ALSO"
55a0e2
 .BR loadkeys (1),
55a0e2
 .BR dumpkeys (1),
55a0e2
diff -up kbd-2.3.0/docs/man/man8/setkeycodes.8.orig kbd-2.3.0/docs/man/man8/setkeycodes.8
55a0e2
--- kbd-2.3.0/docs/man/man8/setkeycodes.8.orig	2020-07-08 19:35:35.000000000 +0200
55a0e2
+++ kbd-2.3.0/docs/man/man8/setkeycodes.8	2020-07-16 08:57:52.293900997 +0200
55a0e2
@@ -42,6 +42,10 @@ the command
55a0e2
 will assign the keycode 112 to it, and then
55a0e2
 .BR loadkeys (1)
55a0e2
 can be used to define the function of this key.
55a0e2
+
55a0e2
+USB keyboards have standardized keycodes and
55a0e2
+.B setkeycodes
55a0e2
+doesn't affect them at all.
55a0e2
 .LP
55a0e2
 Some older kernels might hardwire a low scancode range to the
55a0e2
 equivalent keycodes; setkeycodes will fail when you try to remap
55a0e2
@@ -60,6 +64,14 @@ None.
55a0e2
 .SH BUGS
55a0e2
 The keycodes of X have nothing to do with those of Linux.
55a0e2
 Unusual keys can be made visible under Linux, but not under X.
55a0e2
+
55a0e2
+.B setkeycodes
55a0e2
+affects only the "first" input device
55a0e2
+that has modifiable scancode-to-keycode mapping.
55a0e2
+If there is more than one such device,
55a0e2
+.B setkeycodes
55a0e2
+cannot change the mapping of other devices than the "first" one.
55a0e2
+
55a0e2
 .SH "SEE ALSO"
55a0e2
 .BR dumpkeys (1),
55a0e2
 .BR loadkeys (1),