NAME
|
initkeyboard, ctlkeyboard, closekeyboard – keyboard control |
SYNOPSIS
|
#include <u.h> #include <libc.h> #include <thread.h> #include <keyboard.h> |
DESCRIPTION
These functions access and control a keyboard interface for character–at–a–time
I/O in a multi–threaded environment, usually in combination with
mouse(2). They use the message–passing Channel interface in the
threads library (see thread(2)); programs that wish a more event–driven,
single–threaded approach
should use event(2).
|
SOURCE
|
/sys/src/libdraw |
SEE ALSO
|
graphics(2), draw(2), event(2), thread(2). |
BUGS
|
Because the interface delivers complete runes, there is no way
to report lesser actions such as shift keys or even individual
bytes. |