Add optional mouse look and cursor confinement #256
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!256
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-256"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TaynanGT on GitHub · 2026-11-27 12:37 UTC · original
TaynanGT:feat/fallback-mouse-look-220→main· +323 −16 · 4 files · 3 commits · openIn #220, the title window receives relative mouse input, while the in-game test records no successful GameInput mouse state read. With
VICTORY_MOUSE_LOOK=1, use the existing foreground Raw Input path to map successive mouse deltas to the fallback pad's right stick. Reset the delta baseline on focus loss and use the normal physical-pad path when a pad is connected.Adapted from Viktornachay’s VIctory #3494. The isolated delta test covers neutral motion, clamping and refocus. The suite also checks the fallback and physical-pad paths in both pad modes. Windows CI and a recorded in-game camera check are pending.
Set
VICTORY_MOUSE_CAPTURE=1to hide and confine the pointer to the focused title window. Focus loss and window close release its clip. A simulated Windows API test covers screen bounds, focus handoff and preserving a replacement rectangle. The in-game check includes switching to another window and back.The follow-up suspends confinement for the native move and resize loop. Left and right click drive the right and left triggers on the fallback pad with mouse look enabled. The simulated window test covers clip suspension and resumption, and the input test covers trigger values and focus loss. The recorded camera check remains open.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-27 12:37 UTC · original · edited 2026-11-27 13:28 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
c85dab2c85dab2ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Map mouse motion to the fallback gamepad right stickto Add optional mouse look and cursor confinementView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.