Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ keyboard_codes(5) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pf(1)

kbdemul(4)

KEYBOARD_CODES(5)  —  

NAME

keyboard_codes − keyboard scancode table

DESCRIPTION

The keyboard_codes file is read by the pf program and specifies the name associated with each scancode.  It is also used to generate the scancode tables used by the kernel keyboard driver.  There are several types of lines, identified by the first word of the line.  Lines beginning with ∗ are ignored as comments.  Lines beginning with # are ignored by pf, but not by the kernel table building script (which produces /sys/machinecons/kbde_codes.h ). 

function fn_name
fn_name is the name of a meta-function. 

codes values
specifies the number of modes to be specified for each scancode. This is 6 in the current implementation.

codelength length
specifies how many characters are stored in the primary table. It must be at least 2 (and is 2 in the current implementation).

type number "name"
specifies a name for the numeric type number. More than one name can be specified for a given number. 

scancode meta fn_name
specifies that the hex scancode is bound directly to the keyboard meta-function fn_name. 

scancode normal shift capslock control alt action [name]
specifies the values in all six modes for the given hex scancode.  The name associated with the scancode is the normal value unless the optional name is present. 

FILES

/usr/lib/keyboard_codes

SEE ALSO

pf(1), kbdemul(4)
 

PRPQs 5799-WZQ/5799-PFF: IBM/4.3  —  Dec 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026