plan9fox/sys/man/3/kbin
2011-03-30 19:35:09 +03:00

36 lines
654 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.TH KBIN 3
.SH NAME
kbin \- external keyboard input
.SH SYNOPSIS
.nf
.B bind -a #Ι /dev
.sp 0.3v
.B /dev/kbin
.fi
.SH DESCRIPTION
The
.I kbin
device is a PC driver that
serves a one-level directory containing a single file,
.BR kbin ,
which can be used to send
keyboard scan codes to the kernel.
.PP
.I Kbin
is necessary for
.IR usb (4)
drivers that handle keyboards.
Keyboard input
is processed as described in
.IR cons (3).
The scan codes correspond to the PC keyboard used by the
.IR cons (3)
driver and can be translated by the
.IR kbmap (3)
device.
.SH "SEE ALSO"
.IR cons (3),
.IR kbmap (3),
.IR keyboard (6)
.SH SOURCE
.B /sys/src/9/pc/devkbin.c