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.
16 lines
253 B
C
16 lines
253 B
C
#ifndef LEDS_H
|
|
#define LEDS_H
|
|
|
|
#define NUM_LEDS 4
|
|
|
|
#define LED_HOLD_SCREEN 3
|
|
#define LED_LOCK 2
|
|
#define LED_COMPOSE 1
|
|
#define LED_WAIT 0
|
|
|
|
int leds_init(void);
|
|
void leds_on(int which);
|
|
void leds_off(int which);
|
|
|
|
#endif /* LEDS_H */
|