Skip to content

feat: move the mouse pointer out of the way during a session - #177

Merged
lippdev merged 1 commit into
mainfrom
feat/park-pointer
Oct 29, 2026
Merged

lippdev merged 1 commit into
mainfrom
feat/park-pointer

Conversation

@lippdev

@lippdev lippdev commented Oct 29, 2026

Copy link
Copy Markdown
Owner

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.

  • On by default (PRD D-21), also for configs saved before this existed. Turn it off in Settings, or in the Console interface under System → When entering console mode.
  • The pointer only goes back if it was parked in this session and its old spot is on a screen that is on again.
  • Hiding the pointer altogether stays a manual choice in the session menu (D-12).

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. PointerParkingTests keeps 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).
  • Debug x64 build: 0 errors.
  • On Windows, real session (JoyChromium mode, the PC's only screen, 2560×1600, as the game screen; nothing hidden): pointer at 400,300 → parked at 2553,1593 when JoyChromium appeared and again 4 s later → back at 400,300 after "back to the PC". The log shows Ponteiro: estacionado twice and Ponteiro: de volta a 400,300.
  • Not tested on a TV with the desk monitors turned off; checklist in docs/TESTING.md → "Tirar o ponteiro do mouse do caminho".

Strings in all six catalogs, a paragraph in every guide, both changelogs, and INPUT-014 checked in the PRD.

🤖 Generated with Claude Code

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>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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.

Pullfrog  | View workflow run | Using gpt-6-luna | 𝕏

@lippdev
lippdev merged commit 9cc2ceb into main Oct 29, 2026
5 checks passed
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.

[Feedback]

1 participant