]>
Commit | Line | Data |
---|---|---|
930b9443 MT |
1 | diff -up kbd-1.15/man/man1/showkey.1_old kbd-1.15/man/man1/showkey.1 |
2 | --- kbd-1.15/man/man1/showkey.1_old 2008-03-13 17:46:23.000000000 +0100 | |
3 | +++ kbd-1.15/man/man1/showkey.1 2008-12-10 12:31:38.000000000 +0100 | |
4 | @@ -80,6 +80,19 @@ corresponds to what the keyboard hardwar | |
5 | to know the scan codes sent by various keys it is better to boot a | |
6 | 2.4 kernel. Since 2.6.9 there also is the boot option atkbd.softraw=0 | |
7 | that tells the 2.6 kernel to return the actual scan codes. | |
8 | + | |
9 | +.SH NOTES | |
10 | +The raw scan codes are available only on AT and PS/2 keyboards, | |
11 | +and even then they are disabled unless the | |
12 | +.B atkbd.softraw=0 | |
13 | +kernel parameter is used. | |
14 | +When the raw scan codes are not available, the kernel uses a fixed built-in | |
15 | +table to produce scan codes from keycodes. Thus, | |
16 | +.BR setkeycodes (8) | |
17 | +can affect the output of | |
18 | +.B showkey | |
19 | +in scan code dump mode. | |
20 | + | |
21 | .SH "SEE ALSO" | |
22 | .BR loadkeys (1), | |
23 | .BR dumpkeys (1), | |
24 | diff -up kbd-1.15/man/man8/setkeycodes.8_old kbd-1.15/man/man8/setkeycodes.8 | |
25 | --- kbd-1.15/man/man8/setkeycodes.8_old 2008-12-10 12:31:56.000000000 +0100 | |
26 | +++ kbd-1.15/man/man8/setkeycodes.8 2008-12-10 12:37:36.000000000 +0100 | |
27 | @@ -41,6 +41,10 @@ to showkey(1), the command | |
28 | will assign the keycode 112 to it, and then loadkeys(1) can be used | |
29 | to define the function of this key. | |
30 | ||
31 | +USB keyboards have standardized keycodes and | |
32 | +.B setkeycodes | |
33 | +doesn't affect them at all. | |
34 | + | |
35 | .SH "2.6 KERNELS" | |
36 | In 2.6 kernels key codes lie in the range 1-255, instead of 1-127. | |
37 | (It might be best to confine oneself to the range 1-239.) | |
38 | @@ -54,6 +58,14 @@ None. | |
39 | .SH BUGS | |
40 | The keycodes of X have nothing to do with those of Linux. | |
41 | Unusual keys can be made visible under Linux, but not under X. | |
42 | + | |
43 | +.B setkeycodes | |
44 | +affects only the "first" input device | |
45 | +that has modifiable scancode-to-keycode mapping. | |
46 | +If there is more than one such device, | |
47 | +.B setkeycodes | |
48 | +cannot change the mapping of other devices than the "first" one. | |
49 | + | |
50 | .SH "SEE ALSO" | |
51 | .I "dumpkeys (1), loadkeys (1), showkey (1), getkeycodes (8)" | |
52 |