22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
# A finger flick the shape Iris's phone delivers one, from
|
|
# docs/bench/iris-phone-v2-2026-09-06.md and docs/IRIS_TODO.md's
|
|
# "From the phone, 2026-09-06, 22:16": at 120Hz a flick reaches the app
|
|
# as DOWN, one or two MOVEs and UP inside a few frames, with the
|
|
# intermediate positions batched inside those MOVEs as historical
|
|
# samples (~4ms apart, the touch digitiser's own rate) rather than
|
|
# arriving as separate events. Each line here is one such sample, which
|
|
# is exactly what `IrisViewPeer::on_touch_event` replays through the
|
|
# sensors one at a time -- so the whole gesture is 20ms and five
|
|
# samples, and the velocity has to come out of *those*.
|
|
#
|
|
# Downward (increasing y) on purpose: the screen opens pinned to the
|
|
# newest end, so a flick the other way has nothing left to scroll to and
|
|
# the fling clamps on its first tick -- a pass that would prove nothing.
|
|
# Coordinates are physical pixels on a 1080x2424 surface.
|
|
0 down 540 1000
|
|
4 move 540 1040
|
|
8 move 540 1086
|
|
12 move 540 1138
|
|
16 move 540 1196
|
|
20 up 540 1196
|