summaryrefslogtreecommitdiffstats
path: root/share/man/man4/keyboard.4
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-07-03 18:29:24 +0000
committerru <ru@FreeBSD.org>2004-07-03 18:29:24 +0000
commit1cf159866714352fd8d7789b97068220cbb5a1a4 (patch)
tree5526e5113f4e9589bb734483867453b89a7ca4e6 /share/man/man4/keyboard.4
parentbf15efbfc56854d6fb20bb4ff7801d7549fe2bfd (diff)
downloadFreeBSD-src-1cf159866714352fd8d7789b97068220cbb5a1a4.zip
FreeBSD-src-1cf159866714352fd8d7789b97068220cbb5a1a4.tar.gz
Mechanically kill hard sentence breaks and double whitespaces.
Diffstat (limited to 'share/man/man4/keyboard.4')
-rw-r--r--share/man/man4/keyboard.417
1 files changed, 11 insertions, 6 deletions
diff --git a/share/man/man4/keyboard.4 b/share/man/man4/keyboard.4
index b19b0de..e68c6a1 100644
--- a/share/man/man4/keyboard.4
+++ b/share/man/man4/keyboard.4
@@ -50,7 +50,8 @@ Switch virtual console.
Change the meaning of another key.
.El
.Pp
-The keyboard is seen as a number of keys numbered from 1 to n. This
+The keyboard is seen as a number of keys numbered from 1 to n.
+This
number is often referred to as the "scancode" for a given key.
The number
of the key is transmitted as an 8 bit char with bit 7 as 0 when a key is
@@ -92,17 +93,21 @@ represented by the map array, as shown below:
.Ed
.Pp
This is the default mapping for the key labelled 'A' which normally has
-scancode 0x1E. The eight states are as shown, giving the 'A' key its
+scancode 0x1E.
+The eight states are as shown, giving the 'A' key its
normal behavior.
The spcl field is used to give the key "special" treatment, and is
interpreted as follows.
Each bit corresponds to one of the states above.
If the bit is 0 the
key emits the number defined in the corresponding map[] entry.
-If the bit is 1 the key is "special". This means it does not emit
-anything; instead it changes the "state". That means it is a shift,
+If the bit is 1 the key is "special".
+This means it does not emit
+anything; instead it changes the "state".
+That means it is a shift,
control, alt, lock, switch-screen, function-key or no-op key.
-The bitmap is backwards ie. 7 for base, 6 for shift etc.
+The bitmap is backwards i.e.,
+7 for base, 6 for shift etc.
.Pp
The flgs field defines if the key should react on caps-lock (1),
num-lock (2), both (3) or ignore both (0).
@@ -113,7 +118,7 @@ utility is used to load such a description into/outof
the kernel at runtime.
This makes it possible to change the key
assignments at runtime, or more important to get (GIO_KEYMAP ioctl)
-the exact key meanings from the kernel (fx. used by the X server).
+the exact key meanings from the kernel (e.g.\& used by the X server).
.Pp
The function keys can be programmed using the SETFKEY ioctl call.
.Pp
OpenPOWER on IntegriCloud