Input: add an opt-in radial curve for captured RMB motion #2954
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2954
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2954"
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?
@ghptc on GitHub · 2026-11-29 18:59 UTC · original
ghptc:feat/rmb-radial-mouse-stick→main· +133 −19 · 4 files · 1 commits · openWhat it changes
Add F1 > MOUSE STICK ON RMB > RADIAL for captured mouse motion mapped to the virtual right stick. While the captured right mouse button is held, radial shaping preserves the angle of each motion vector and reaches the new target on the first motion poll. It holds a decaying sample for up to two empty polls. A button transition clears the previous curve's motion. The right mouse button still supplies the left trigger. A physical controller's left trigger keeps the Standard curve for captured mouse motion.
Standard is the default. The option saves through the existing F1 settings file. A launch can override it with
--set VICTORY_MOUSE_RMB_RADIAL=1or=0. On this base, use CONTROLS > KEYBOARD, MOUSE CAPTURE on and MOUSE AND KEYBOARD off. The standalone port uses the existingVICTORY_MOUSE_SENSconfiguration. The fork's AUTO routing and live sensitivity are handled separately in #2734 and #2869. Native aiming and bindings use their existing routes. See #1570 for the native aim path and #1195 for a pulse hold in the separate keyboard mapper.Validation
A standalone CPU control compiled the production
State::poll, GameInput reading, and F1 handlers on the pinned base, with a fake mouse source and queued menu keys. The F1 toggle took effect on the next reading, saved the dedicated key and returned to Standard. The production direction, saturation, button-release and tail tests passed. The Standard arm produced 11,600 identical metric rows against the baseline across direct GameInput polls and simulated client reads at 10, 13, 20, 25, 30 and 60 Hz. Navigation with RMB released and the physical-trigger control also matched with Radial enabled.For a generated 4:1 direction, the median angle error fell from 20.42° to 0.00°. At 60 Hz the median time from motion start to 90% of that arm's plateau fell from 31.94 to 19.79 ms, with the first visible motion unchanged. The shorter tail can lose short pulses between client reads. For a generated 4 ms motion pulse, at 20 Hz the missed phases rose from 5 to 88 out of 192, and at 30 Hz from 0 to 36. At 60 Hz both arms missed zero in this control. These are synthetic client readings. Physical keyboard/mouse input, camera motion and player comfort were outside this validation.
Adapted from the composer commit
33ad168a203eaf5caf5d1fb8211b2b16bb80d3c2with its original authorship, ontof889bb076fa884fff8d2b6f0b50ac86f72abfd98.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.