GameInput: route captured mouse to the virtual pad in AUTO #2734

Manually merged
github merged 2 commits from github-bot/gh-2734 into gh-pr/2734/base 2026-11-30 14:16:55 +00:00 AGit
Owner

@⁠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 UTC

In 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.

**@⁠ghptc** on GitHub · 2026-11-29 16:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2734) `ghptc:fix/auto-captured-mouse-pad-20261129` → `main` · +82 −14 · 2 files · 2 commits · merged 2026-11-30 14:12 UTC In 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 16:43:44 +00:00
github-bot changed target branch from main to gh-pr/2734/base 2026-11-30 14:16:41 +00:00
github manually merged commit 4f85fa894b into gh-pr/2734/base 2026-11-30 14:16:42 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!2734
No description provided.