Repository navigation
Conversation
…el on the right stick - The left stick moves the browser's own pointer over any page (a blue ring with a dot, so it never passes for the system mouse). A clicks where it points; A twice within 280 ms is a right click, so a single press waits that long. Each click squeezes the ring. - The last one used wins: the stick hands A to the pointer, the D-pad takes it back for the focused item and hides the pointer. - The right stick scrolls, up and down and sideways, under the pointer (or the middle of the page before the pointer was ever shown). - Arrows mode (YouTube TV, Twitch) keeps the stick on the arrow keys its sites are built for; the keyboard, dialogs and the toolbar still take the stick as a D-pad. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #101 (controller navigation).
Summary
spatial.jsin its isolated world, so it never passes for the system mouse. Movement uses the existing deadzone and response curve (stickToVelocity).DOUBLE_PRESS_MS) gives a right click, so a single press waits that long. Each click briefly squeezes the ring.Test plan
npm run typechecknpm test(118 passed)npm run test:e2e(58 passed, 3 skipped). The newcontroller.spec.tstest covers: the stick shows the pointer, A gives a left click, A A gives a right click with no extra left click, the D-pad hides the pointer and A presses the focused button, and the right stick scrollsdocs/CONTROLLER-TEST.mdscenario 7), especially the pointer speed from the sofa🤖 Generated with Claude Code