]> git.lizzy.rs Git - plan9front.git/blob - sys/man/3/kbin
9boot: pxe/kernel memory overlap problem, add unload function
[plan9front.git] / sys / man / 3 / kbin
1 .TH KBIN 3
2 .SH NAME
3 kbin \- external keyboard input
4 .SH SYNOPSIS
5 .nf
6 .B bind -a #Ι /dev
7 .sp 0.3v
8 .B /dev/kbin
9 .fi
10 .SH DESCRIPTION
11 The
12 .I kbin
13 device is a PC driver that
14 serves a one-level directory containing a single file,
15 .BR kbin ,
16 which can be used to send
17 keyboard scan codes to the kernel.
18 .PP
19 .I Kbin
20 is necessary for
21 .IR usb (4)
22 drivers that handle keyboards.
23 Keyboard input
24 is processed as described in
25 .IR cons (3).
26 The scan codes correspond to the PC keyboard used by the
27 .IR cons (3)
28 driver and can be translated by the
29 .IR kbmap (3)
30 device.
31 .SH "SEE ALSO"
32 .IR cons (3),
33 .IR kbmap (3),
34 .IR keyboard (6)
35 .SH SOURCE
36 .B /sys/src/9/pc/devkbin.c