Skip to main content

Crate lk201

Crate lk201 

Source
Expand description

§LK201/LK401 Keyboard Emulator (https://en.wikipedia.org/wiki/LK201).

The protocol interface is documented in https://www.netbsd.org/docs/Hardware/Machines/DEC/lk201.html, and some bootup sequences are documented at https://vt100.net/keyboard.html.

This crate also includes an optional, slower, but far more accurate hardware emulator gated behind the hardware feature flag.

Modules§

keycodes
Special keycodes that have specific meanings

Structs§

AutoRepeatRegister
Auto-repeat register (0-3)
Division
Keyboard division (1-14, corresponding to groups of keys)
LK201
LK201Sender
Led
LED indicators on the LK201 keyboard
Volume
Volume level (0 = max, 7 = min)

Enums§

Key
KeyMode
Key mode for a keyboard division
KeyboardType
Keyboard type IDs (returned in byte 1 of KeyboardId response)
LK201Command
Commands sent from the computer to the LK201 keyboard
LK201Response
Responses sent from the LK201 keyboard to the computer
PowerUpError
Power-up self test error codes
SpecialKey

Constants§

ALL_KEYS