aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-27 15:03:45 +0100
committereunhhu <[email protected]>2026-09-27 15:03:45 +0100
commitad3eb77af098f34c1ea8cb50f468a8b75fb7d61c (patch)
treefa38b131e428cb16d6ecf7bc616cacdde177a93e /README.md
parent5313285bbfedf6154d2611c4923cff458d7ef271 (diff)
downloadvega-ad3eb77af098f34c1ea8cb50f468a8b75fb7d61c.tar.gz
vega-ad3eb77af098f34c1ea8cb50f468a8b75fb7d61c.zip
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.
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
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 검사, 견고성
```