Repository navigation
feat: move the mouse pointer out of the way during a session - #177
Merged
Merged
Conversation
When the launcher shows up, the pointer goes to the bottom-right corner of the game screen, twice (Steam recenters it while opening), and back where it was when the desk is restored. On by default (issue #172). Based on @JarJarShinks' PointerParking in #173. Co-Authored-By: JarJarShinks <JarJarShinks@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes The review covered pointer parking and restoration, its settings and console UI, localization, tests, and manual test guidance.
- Session behavior Captures the pre-session cursor position, moves it into the game screen after launch (twice to account for launcher recentering), and restores it when the original screen is active again.
- Configuration and UI Adds an on-by-default option in Settings and the Console interface, with translations across all catalogs.
- Validation and guidance Adds pure logic tests and manual checks for display-dependent behavior.
gpt-6-luna | 𝕏
This was referenced Oct 29, 2026
Closed
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.

What
Closes #172. When the launcher shows up on the TV, the mouse pointer goes to the bottom-right corner of the game screen, a few pixels inside it. It moves twice, 3 s apart, because Steam recenters it while Big Picture opens; in Xbox mode the move comes 4 s after the launch. Going back to the PC puts it back where it was, as promised in the issue.
The corner and timing logic (
PointerParking, with its tests) comes from @JarJarShinks' #173 and is credited in the changelog, the code and the commit (Co-Authored-By). The return-to-position part, the setting UI and the defaults are new.Tests
dotnet test: 569 passing.PointerParkingTestskeeps Add own start/stop scripts, exact NTSC refresh rate and pointer parking #173's corner and timing cases and adds when the pointer goes back and the on-by-default config ({}→ on).Ponteiro: estacionadotwice andPonteiro: de volta a 400,300.docs/TESTING.md→ "Tirar o ponteiro do mouse do caminho".Strings in all six catalogs, a paragraph in every guide, both changelogs, and
INPUT-014checked in the PRD.🤖 Generated with Claude Code