forked from arti/vt1200
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.
13 lines
293 B
C
13 lines
293 B
C
#ifndef BEEPER_H
|
|
#define BEEPER_H
|
|
|
|
/* Volumes are 0 (highest) to 7 (lowest) or -1 (disabled) */
|
|
|
|
int beeper_init(void);
|
|
void beeper_set_bell_volume(int volume);
|
|
void beeper_set_keyclick_volume(int volume);
|
|
void beeper_sound_bell(void);
|
|
void beeper_sound_keyclick(void);
|
|
|
|
#endif /* BEEPER_H */
|