Skip to content

fix(gesture): axis dominance defers instead of killing — real thumbs arc - #215

Merged
doodlewind merged 1 commit into
mainfrom
fix/pan-axis-defer
Aug 4, 2026
Merged

fix(gesture): axis dominance defers instead of killing — real thumbs arc#215
doodlewind merged 1 commit into
mainfrom
fix/pan-axis-defer

Conversation

@doodlewind

Copy link
Copy Markdown
Collaborator

Hardware-only bug, third of its kind, same lesson: scripts move in pure lines; thumbs don't.

The pan-axis verdict fired once at the first slop crossing (6 logical px = 24 panel px) and permanently killed the recognizer for that contact — landing wobble routinely hands the wrong axis those first pixels, so the motions pager never fired on a real Vita while sim AND scripted Vita3K both passed.

Now the verdict re-evaluates every unclaimed frame: claim when the locked axis dominates; never claim if it never does (a vertical scroll still can't turn a horizontal pager). Also repairs diagonal-start flicks on vertical lists. PAN_DEAD retires.

Pinned by two thumb-profile unit cases; chain 0 fail, 54 web goldens + im Vita3K byte-exact.

🤖 Generated with Claude Code

The pan-axis verdict fired ONCE, at the first frame total travel crossed
slop (6 logical px = 24 Vita panel px), and marked the recognizer PAN_DEAD
for the contact's lifetime. A script moves in a pure line and always
passed; a real thumb lands with wobble and arcs, so the wrong axis often
wins those first pixels — on hardware the motions pager simply never fired
(sim AND the scripted Vita3K run both turned the page; only from_reports
input showed the failure).

The verdict is now re-evaluated every unclaimed frame: the recognizer
claims the moment its locked axis dominates, and a drag whose dominant
axis never matches still never pans it — a vertical scroll cannot turn a
horizontal pager. PAN_DEAD retires with the single-shot rule. This also
repairs the same class for vertical lists under diagonal-start flicks.

Two new unit cases pin the thumb profile (wobble-first swipe pans; pure
vertical never does). Validated: gesture 21, canonical chain 0 fail, 54
web goldens byte-exact, im-touch + im-rowtap Vita3K byte-exact (pure-line
scripts are behavior-identical under deferral).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@doodlewind
doodlewind marked this pull request as ready for review August 4, 2026 07:37
@doodlewind
doodlewind merged commit 4c5dc9e into main Aug 4, 2026
@doodlewind
doodlewind deleted the fix/pan-axis-defer branch August 4, 2026 07:37
doodlewind added a commit that referenced this pull request Aug 4, 2026
The pure-line swipe script passed on the broken axis verdict everywhere;
only hardware failed. The spec's touch track now lands with an 8px
vertical wobble before the horizontal sweep — the profile that turns the
page ONLY through #215's deferred-dominance claim (verified both ways:
1/4 on the pre-fix framework, 2/4 with it).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant