Adaptec AHA-1520A Manual de servicio Pagina 175

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 434
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 174
SunOS 5.5 STREAMS Modules kb(7M)
NAME kb keyboard STREAMS module
SYNOPSIS #include <sys/types.h>
#include <sys/stream.h>
#include <sys/stropts.h>
#include <sys/vuid_event.h>
#include <sys/kbio.h>
#include <sys/kbd.h>
ioctl(fd, I_PUSH, "kb");
AVAILABILITY SPARC
DESCRIPTION The kb STREAMS module processes byte streams generated by keyboard attached to a
CPU serial port. Definitions for altering keyboard translation, and reading events from
the keyboard, are in <sys/kbio.h> and <sys/kbd.h>.
kb recognizes which keys have been typed usinga set of tables for each known type of
keyboard. Each translation table is an array of 128 16-bit words (unsigned shorts). If an
entry in the table is less than 0x100, it is treated as an ISO 8859/1 character. Higher values
indicate special characters that invoke more complicated actions.
Keyboard
Translation Mode
The keyboard can be in one of the following translation modes:
TR_NONE Keyboard translation is turned off and up/down key
codes are reported.
TR_ASCII ISO 8859/1 codes are reported.
TR_EVENT firm_events are reported.
TR_UNTRANS_EVENT firm_events containing unencoded keystation codes
are reported for all input events within the window
system.
Keyboard
Translation-Table
Entries
All instances of the kb module share seven translation tables used to convert raw keysta-
tion codes to event values. The tables are:
Unshifted Used when a key is depressed and no shifts are in effect.
Shifted Used when a key is depressed and a Shift key is beingheld
down.
Caps Lock Used when a key is depressed and Caps Lock is in effect.
Alt Graph Used when a key is depressed and the Alt Graph key is
being held down.
Num Lock Used when a key is depressed and Num Lock is in effect.
modified 27 Jan 1994 7M-171
Vista de pagina 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 433 434

Comentarios a estos manuales

Sin comentarios