From ad3eb77af098f34c1ea8cb50f468a8b75fb7d61c Mon Sep 17 00:00:00 2001 From: eunhhu Date: Sun, 27 Sep 2026 15:03:45 +0100 Subject: Take keyboards, mice and touch screens on the display (evdev) vega display --live reads the kernel's input events with no library: keys become Pure's key names and the text they type on a US layout, going through the TUI's own handling (the input line takes text, else the app takes keys); a mouse moves an outlined pointer and clicks, a touch screen presses where it is touched, scaled from the device's range; the line pressed is the row. --input FILE reads recorded events to their end and prints the last frame, which is how this screenless Pi checks it: after typing two items with Shift, Enter, Tab, Space and a touch on a row, the display's last frame is the TUI's after the same keys and click, and came back from the display controller as drawn. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index e51944b..8bd69b4 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ printf 'text 6d696c6b\nkey Space\nshow\n' | build/vega say todo.pmod build/vega web todo.pmod --watch # 브라우저(GUI). --watch: 모듈이 다시 빌드되면 상태를 이어 바꾼다 # (옆에서 AUP_PATH=lib aup watch examples/todo.aup -o todo.pmod) build/vega pixels todo.pmod --symbols ui.vsym --grid 48x12 --out frame < script # 픽셀: frame-N.ppm (설계 003) -build/vega display todo.pmod --symbols ui.vsym < script # 디스플레이(KMS). --writeback WxH --out: 화면 없이 되돌려 받기 +build/vega display todo.pmod --symbols ui.vsym --live # 디스플레이(KMS)와 키보드·마우스·터치(evdev) + # (< script, --input 기록한 사건, --writeback WxH --out: 화면 없이 되돌려 받기) make check # 참조 모델 대조, 프레임 검사, 대화형 pty 검사, 견고성 ``` -- cgit v1.2.3