GameInput: adjust captured mouse stick sensitivity live in F1 #2869
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!2869
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2869"
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:22 UTC · original
ghptc:fix/f1-mouse-stick-sensitivity→main· +110 −16 · 5 files · 2 commits · openWhat changes
The existing captured-mouse right-stick mapper read its sensitivity only at process startup. Add MOUSE STICK SENSITIVITY next to MOUSE CAPTURE in F1. Left and Right change the value by 0.005 for the next gameplay poll, bounded from 0.010 to 0.200. Enter clears the saved stick override and restores the launch value of
VICTORY_MOUSE_SENS, which defaults to 0.060.The menu saves only
VICTORY_MOUSE_STICK_SENSfor this setting. The native aiming hook andbindings.inikeep their own settings. Theplaylauncher accepts--set VICTORY_MOUSE_STICK_SENS=0.075as a per-launch override. Credit to #1149 for the precedent of a live F1 sensitivity row on the separate KBM mapper.Routing
This patch uses the
MouseLookpath already available withCONTROLS=keyboardand legacy capture. The fork'sAUTO,MNK=0profile also relies on #2734 to route captured motion to the virtual pad while keeping the mouse device hidden. This PR leaves the base branch's device visibility and capture policy in place.Verification
A standalone CPU fixture against pinned upstream
55d06914compiled the productionMenu::framemethods and queried the resulting virtual pad through the GameInput ABI. Three Right presses changed the same(8, -8)input from X=0.394000 to X=0.430000 with the default launch value. Starting at 0.062 changed X=0.398800 to X=0.434800. Both runs verified the two axes, keyboard and triggers, the saved setting in a fresh process, and Enter reset. The step test covers limits and custom launch values off the default grid.The composer's separate integrated CPU control exercised the
AUTOroute with #2734 and checked launcher precedence for a saved setting, reset and explicit--set. These controls use generated motion with window and rendering stubs.An independent Win32 client against integrated revision
4b3e6d71cd8b22c081c1fdf56c0eee0eada23a0bused synthetic input in a private Wine/X11 window. F1, Down and an extended Right press displayed and saved 0.067 from a launch value of 0.062. After closing F1, recentering was neutral and the client read stick axes of (0.41080, 0.39070), up from (0.39880, 0.38020) for the same input.The synthetic Left event did not reach the client's
GetAsyncKeyStatecheck, and that run stopped before Enter. Both arrow directions, Enter reset, reopening and persistence were exercised separately in the CPU menu-handler and GameInput ABI fixtures. Physical keyboard input and in-game camera behavior remain unverified.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.