Add optional mouse look and cursor confinement #256
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T12:37:28Z.
In #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.
Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T12:37:38Z.
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.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:14:38Z.
Superseded:
mainhas moved to a new line of the code (see #468). Whatever is still worth having from this will come back as a new PR on the currentmain.Pull request closed