Skip to content

Companion: space swipe events and keep coordinates within the gesture - #2925

Open
SeoFood wants to merge 1 commit into
postlund:masterfrom
SeoFood:seofood/companion-swipe-timing
Open

SeoFood wants to merge 1 commit into
postlund:masterfrom
SeoFood:seofood/companion-swipe-timing

Conversation

@SeoFood

@SeoFood SeoFood commented Oct 12, 2026

Copy link
Copy Markdown

Companion swipes sent the first Hold immediately after Press and could overshoot the requested endpoint. Wait one touch interval before the first Hold and clamp interpolation to the start/end range.

Fixes #2914.

Validation: 94 Companion tests pass, including 12 regression cases that fail before the fix. The 100 ms cases require intermediate Hold events and reject early release; separate deliberately broken implementations are rejected by both checks. Formatting, linting, spelling and type checks pass.

Companion touch timing uses a virtual clock; physical tvOS behavior is not verified.

The full suite on this branch passes (1,259 passed, 5 skipped).

This branch has not been deployed

No deployments
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.

Addressing erratic CompanionAPI.swipe behavior

1 participant