Commit Graph
2 Commits
Author SHA1 Message Date
Kaj SchittecatandClaude Opus 5.5 aa5ba95e40 touch(nav): a same-row neighbour is beside the cursor, not below it
On the ThinkNode M9 Home (benanderson, Discord, beta_103) the Heard and
Unread widgets could not be reached with the d-pad. The clock card is
taller than the row of toggles beside it and its centre sits 2 px lower,
so the spatial step counted it as "below" every toggle with a zero gap
and took every Down there. Likewise Left from a button could jump up to
one rows higher that merely overlapped it horizontally. A candidate that
overlaps on one axis and is clear on the other now lies only along that
other axis; diagonal and overlapping candidates still go by their
centres. Host test gains the M9 Home geometry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 15:47:00 +01:00
Kaj SchittecatandClaude Opus 5.5 c2d7cd4d75 touch: telemetry Request button reachable with keys while a chart shows
Reported on Discord (benanderson, M9 beta_100): with the history chart open
the d-pad could not reach the Request button until the history was cleared.
The chart started 26 px down the card, inside the 32 px row of the Request /
gear / X buttons, and overlapped them horizontally, so it counted as the
nearest control left of the gear (and of the X). Left from the gear went to
the chart, Up from the chart back to the gear; Request was never chosen.
The chart now starts below that row.

The spatial ranking navMoveDir uses moved unchanged into NavSpatial.h
(navSpatialMetrics / navSpatialPick on plain rects) so it can be tested on
the host: test/test_nav_spatial.cpp lays out the M9 telemetry window and
shows Request unreachable from every control before, reachable from every
control after, plus the existing band rule (Send advert).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 10:14:37 +01:00