Mouse camera control: locked cursor, button edges, smoothed right-stick deltas #377
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/377"
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 ztsvvstz1337 on 2026-11-27T20:58:23Z.
Adds mouse camera control to the keyboard stand-in pad in
victory-hle.MouseLook), with base sensitivity 0.022 and a[-1, 1]clamp.WM_SETCURSORhook. F2 toggles the lock; Esc or P releases it for menus. Focus loss or an inactive stand-in disarms it.VICTORY_MOUSE_LOOKis on by default (=0disables it);VICTORY_MOUSE_SENSandVICTORY_MOUSE_INVERT_Y=1override sensitivity and Y direction.docs/README-fxceless.md.This is the current local implementation and complements the earlier mouse-look work in #256: #256 maps focused mouse motion and confines the pointer, while this adds cursor hiding, edge-captured buttons and the smoothed delta path.
Verification on this branch based on
main0148258:cargo test -p victory-hle --locked: 223 library tests passed, 3 ignored;mouse_look.rsintegration tests 33/33 passed; dlss/fidelityfx/no_dll integrations also passed.cargo clippy -p victory-hle --all-targets --locked -- -D warnings: clean.In-game camera behaviour was not recorded here; the evidence is the unit/integration suite.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:37:44Z.
Thanks for the implementation and the test results. The follow-up in #220 supports the smoothed camera path on a virtual-pad setup. Before expanding it, please check mouse-button triggers, cursor release on focus loss and F2/Esc, and interaction with a real controller. The integration suite is not a substitute for those input checks.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:10:52Z.
mainhas moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the currentmainand open a new PR; I'll review it there.Pull request closed