Files
hermeven/docs/decisions/0003-gesture-binding.md
T
2026-11-21 13:34:42 -08:00

28 lines
1.7 KiB
Markdown

# 0003: Gesture binding for the first slice
Status: provisional until device-tested. Date: 2026-11-18.
The product contract is the set of semantic actions (activate, stop/submit, cancel/back,
next/previous page, new conversation). Gestures are a replaceable binding.
| Action | Binding | Why |
|---|---|---|
| activate, stop/submit | tap | The only gesture every source agrees reaches the app. Tap to start and tap to stop makes the end of capture explicit and deterministic. |
| cancel / back | double tap | Even's submission rules require double tap on the root page to open the OS exit dialog. Treating double tap as "back one level" everywhere makes that the natural end of the same gesture. |
| next / previous page | swipe down / swipe up | Matches Even's text-heavy template. |
| new conversation, cancel request | OS contextual menu items | Keeps a destructive-feeling action off a single accidental gesture. |
Adopted on 2026-11-21, after the first device run:
- **Hold to talk.** On a real G2 a touch held slightly too long is reported as a long press
(`sysEvent` type 9, then type 10 on release; source 1 for the right temple, 3 for the left) and
was being ignored, so "tap" appeared not to work. A long press now does what a tap does; if it
started the recording and is held at least 0.7 s, releasing it sends. Dan: "long presses and
release are the way." Whether the OS's tap-then-long-press menu gesture interferes is untested.
Rejected for now:
- **End-of-speech detection.** Not attempted. Capture ends on tap, cancel, or the visible cap.
Open for device testing: whether Even treats a double tap that cancels a request (not on the root
page) as acceptable under its exit rule, accidental double-tap rate, and ring behaviour.