2011-01-05 13:40:22 +00:00
|
|
|
diff -up kbd-1.15.2/man/man1/showkey.1.orig kbd-1.15.2/man/man1/showkey.1
|
2013-11-04 12:04:03 +00:00
|
|
|
--- kbd-1.15.2/docs/man/man1/showkey.1.orig 2009-10-09 17:26:13.000000000 +0200
|
|
|
|
+++ kbd-1.15.2/docs/man/man1/showkey.1 2011-01-05 12:45:25.726030798 +0100
|
2009-01-08 14:46:00 +00:00
|
|
|
@@ -80,6 +80,19 @@ corresponds to what the keyboard hardwar
|
|
|
|
to know the scan codes sent by various keys it is better to boot a
|
|
|
|
2.4 kernel. Since 2.6.9 there also is the boot option atkbd.softraw=0
|
|
|
|
that tells the 2.6 kernel to return the actual scan codes.
|
2006-12-07 17:12:31 +00:00
|
|
|
+
|
|
|
|
+.SH NOTES
|
|
|
|
+The raw scan codes are available only on AT and PS/2 keyboards,
|
|
|
|
+and even then they are disabled unless the
|
|
|
|
+.B atkbd.softraw=0
|
|
|
|
+kernel parameter is used.
|
|
|
|
+When the raw scan codes are not available, the kernel uses a fixed built-in
|
|
|
|
+table to produce scan codes from keycodes. Thus,
|
|
|
|
+.BR setkeycodes (8)
|
|
|
|
+can affect the output of
|
|
|
|
+.B showkey
|
|
|
|
+in scan code dump mode.
|
|
|
|
+
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR loadkeys (1),
|
|
|
|
.BR dumpkeys (1),
|
2011-01-05 13:40:22 +00:00
|
|
|
diff -up kbd-1.15.2/man/man8/setkeycodes.8.orig kbd-1.15.2/man/man8/setkeycodes.8
|
2013-11-04 12:04:03 +00:00
|
|
|
--- kbd-1.15.2/docs/man/man8/setkeycodes.8.orig 2009-10-09 17:26:13.000000000 +0200
|
|
|
|
+++ kbd-1.15.2/docs/man/man8/setkeycodes.8 2011-01-05 12:47:46.894739942 +0100
|
2011-01-05 13:40:22 +00:00
|
|
|
@@ -38,6 +38,10 @@ to showkey(1), the command
|
|
|
|
.RE
|
2006-12-07 17:12:31 +00:00
|
|
|
will assign the keycode 112 to it, and then loadkeys(1) can be used
|
|
|
|
to define the function of this key.
|
2011-01-05 13:40:22 +00:00
|
|
|
+
|
2006-12-07 17:12:31 +00:00
|
|
|
+USB keyboards have standardized keycodes and
|
|
|
|
+.B setkeycodes
|
|
|
|
+doesn't affect them at all.
|
2011-01-05 13:40:22 +00:00
|
|
|
.LP
|
|
|
|
Some older kernels might hardwire a low scancode range to the
|
|
|
|
equivalent keycodes; setkeycodes will fail when you try to remap
|
|
|
|
@@ -56,6 +60,14 @@ None.
|
2006-12-07 17:12:31 +00:00
|
|
|
.SH BUGS
|
|
|
|
The keycodes of X have nothing to do with those of Linux.
|
|
|
|
Unusual keys can be made visible under Linux, but not under X.
|
|
|
|
+
|
|
|
|
+.B setkeycodes
|
|
|
|
+affects only the "first" input device
|
|
|
|
+that has modifiable scancode-to-keycode mapping.
|
|
|
|
+If there is more than one such device,
|
|
|
|
+.B setkeycodes
|
|
|
|
+cannot change the mapping of other devices than the "first" one.
|
|
|
|
+
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.I "dumpkeys (1), loadkeys (1), showkey (1), getkeycodes (8)"
|
|
|
|
|