mirror of
https://git.k-space.ee/arti/vt1200.git
synced 2026-11-07 12:43:16 +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.
18 lines
462 B
C
18 lines
462 B
C
#ifndef METRONOME_H
|
|
#define METRONOME_H
|
|
|
|
#include <zephyr/kernel.h>
|
|
|
|
#include "vtbt.h"
|
|
|
|
/* Signals the auto-repeater that a keycode has been transmitted and that the
|
|
* current auto-repeating keycode needs to be resent before resuming metronome
|
|
* codes. */
|
|
void metronome_resend(void);
|
|
|
|
void metronome_auto_repeat_enable(void);
|
|
void metronome_auto_repeat_disable(void);
|
|
void metronome_event(const sys_dlist_t *, const struct event *);
|
|
|
|
#endif /* METRONOME_H */
|