GameInput: route captured mouse to the virtual pad in AUTO #2734
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!2734
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2734"
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 16:43 UTC · original
ghptc:fix/auto-captured-mouse-pad-20261129→main· +82 −14 · 2 files · 2 commits · merged 2026-11-30 14:12 UTCIn AUTO with controller prompts, native mouse off and legacy capture explicitly enabled, the input hub applied the device-visibility filter before converting captured samples to a virtual pad. The application could read keyboard movement through the pad, but its right stick and mouse-derived triggers stayed neutral.
The hub now translates captured motion before choosing whether to expose a mouse device. The F1 menu clears the stick filter and suspends cursor recentering until the next gameplay sample. The window capture remains opt-in. This also preserves the current handling of physical pads and explicit controller-only modes.
A unit regression reads the pad through the GameInput interface. An independent two-window Win32 client linked against the production HLE verified the change with Wine on a private X11 display. The parent build, whose input modules match upstream main, produced zero camera axes with capture enabled. The integrated fix delivered both axis directions and both mouse-trigger edges. The client also checked edge recentering, focus loss and reacquisition, and the F1 menu gate. These checks use synthetic input within the test windows.