mirror of
https://git.k-space.ee/arti/vt1200.git
synced 2026-10-31 12:05:05 +02:00
Distils public docs into reference/keyboard-mouse/PROTOCOL.md for the level-1 Keyboard (27) / Mouse (26) device tests: - keyboard: 4800 8N1 RS-423, self-test via FD -> 01 00 00 00 (errors 3D/3E) - mouse: 4800 8O1 RS-232, self-test via 'T' -> 4-byte report (errors 3D/3E, >=0x20 fatal) - separate ports: DUART2 A=keyboard, B=mouse (NOT daisy-chained) MAME already has an LK201 device (src/mame/dec/lk201.cpp/.h) but no DEC mouse.
23 lines
3.4 KiB
HTML
23 lines
3.4 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head ><title >LK201/LK401 keyboard input</title><link href="../../../ggi.css" type="text/css" rel="stylesheet" /><meta content="text/html; charset=UTF-8" http-equiv="Content-type" /></head><body ><div id="page"><div id="header"><div class="menu-global"><a href="../../../index.html">Home</a> <a href="../../../documentation/index.html">Documentation</a> <a href="../../../development.html">Development</a> <a href="../../../download.html">Download</a> <a href="../../../links.html">Software</a> <a href="../../../contact.html">Contact</a> </div><div class="menu-local"><a href="index.html">index</a> <a href="../../../documentation/libgii/1.0.x/input-linux-mouse.7.html">prev</a> <a href="../../../documentation/libgii/1.0.x/input-mouse.7.html">next</a> </div></div><div id="content"><h1 id="lk201-lk401-keyboard-input"><a name="lk201-lk401-keyboard-input">LK201/LK401 keyboard input</a></h1><div class="section-1"><h2 id="name"><a name="name">Name</a></h2><div class="section-2"><p ><span class="function">input-lk201</span> : LK201/LK401 keyboard input</p></div><h2 id="id109"><a name="id109">Synopsis</a></h2><div class="section-2"><pre class="literal_block">input-lk201: [<file>]</pre></div><h2 id="id110"><a name="id110">Description</a></h2><div class="section-2"><p >The lk201 and lk401 devices are keyboards made by Digital Equipment
|
|
Corporation for some of there older micro computer systems and
|
|
terminals.</p><p >They connect via a 4 pin RJ connector, which carries 11.8V (+/- 6%),
|
|
GND, and two bidirectional async RS423 (RS232 Compatible) serial
|
|
lines, which are Receive and Transmit. The pins are as follows
|
|
(looking on to the male (lk201 side) connector):</p><pre class="literal_block"> -------------------
|
|
| " " " " |
|
|
| L V G D |
|
|
| K + N E |
|
|
| -> D C |
|
|
| D -> |
|
|
| E L |
|
|
| C K |
|
|
-- --
|
|
| |
|
|
-- --
|
|
| |
|
|
-------</pre></div><h2 id="id111"><a name="id111">Options</a></h2><div class="section-2"><dl ><dt ><span class="variable">file</span></dt><dd ><p >Specifies the serial port device to use (e.g. <span class="default">/dev/ttyS1</span>). If
|
|
this argument is not specified as part of the input's arguments,
|
|
then the device named in the environment variable
|
|
<span class="default">GII_LK201_OPTIONS</span> is used.</p></dd></dl></div><h2 id="id112"><a name="id112">Environment variables</a></h2><div class="section-2"><dl ><dt ><span class="default">GII_LK201_OPTIONS</span></dt><dd ><p >File name of serial port.</p></dd></dl></div><h2 id="id113"><a name="id113">Features</a></h2><div class="section-2"><ul ><li >Generates evKey* events.</li></ul></div><h2 id="id114"><a name="id114">Known Bugs</a></h2><div class="section-2"><ul ><li >key repeat messages are not sent, which can annoy users who want
|
|
to use the cursor keys.</li><li >Handle setting of keyclick and bell, which can also annoy
|
|
users.</li></ul></div></div></div><div id="footer"><div class="links"><a href="http://ibiblio.org/"><img src="http://www.ibiblio.org/images/ibiblio_logo.gif" alt="iBiblio" width="88" height="31" /></a><a href="http://sourceforge.net/projects/ggi"><img src="http://sourceforge.net/sflogo.php?group_id=16307" alt="Sourceforge" width="88" height="31" /></a></div></div></div></body></html> |