v2026.11.29.01: CONTROLS=GAMEPAD never presents a gamepad (GameInput devices=0), so the title stops at the account/title screen; CONTROLS=KEYBOARD ignores bindings.ini #2844
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#2844
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@shigechangge on GitHub · 2026-11-29 18:02 UTC · original
v2026.11.29.01:
CONTROLS=GAMEPADnever presents a gamepad (GameInputdevices=0), so the title stops at the account/title screen;CONTROLS=KEYBOARDignoresbindings.inivictory-nvidia-play-20261129-173933-1992.log
victory-nvidia-play-20261129-174534-8.log
victory-settings.txt
Summary
On v2026.11.29.01 with mouse and keyboard enabled, neither of the new
CONTROLSmodes behaves like the previous release's mouse/keyboard → gamepad translation:CONTROLS=gamepad— the game starts and renders the account/title screen at a stable 60 fps, but it never receives any gamepad input. Enter, Shift, Space and mouse clicks do nothing; it stays on the first screen. The log shows the pad enumeration coming back with 0 devices. The process stays alive and healthy (GPU ~5 %), it is simply waiting for a controller that never appears.CONTROLS=keyboard— the game can be entered, but driving uses the title's raw keyboard controls (W throttle, S/A/D as keyboard vehicle controls, left mouse button does nothing), instead of the bound layout (MoveLeft/Right = A/Don the left stick,RT = Mouse1). The HUD key prompts are drawn from the "stock Victory bindings" and do not match the effective keys.With the previous release v2026.11.28.03 and the same
bindings.ini, the expected behaviour works: A/D steer with the left stick, LMB = RT throttle, RMB = LT brake (gamepad-style driving), and the title shows gamepad prompts.Environment
game_scarlett_master.exe0d3dae51870bad44aa529c9fddd762a513d677ff8d08147134968ba7ed67dffd%LOCALAPPDATA%\victory\victory-settings.txtVICTORY_MNK=1bindings.ini(unchanged defaults)Relevant settings:
Stock
bindings.iniused for both runs:Steps to reproduce
victory.exev2026.11.29.01 besidegame_scarlett_master.exe.Result: nothing happens; the game stays on that screen indefinitely.
Result: the game can be entered, but in a vehicle W/S/A/D drive the car as raw keyboard controls and LMB does not accelerate.
Evidence (gamepad run)
%LOCALAPPDATA%\victory\logs\victory-nvidia-play-20261129-174534-8.log:The window title from the same run (F3 stats also shown there):
i.e. the title UI is rendered at 60 fps with 8 draws/frame, GPU ~5 %, no input is accepted. The process is not hung and there is no crash.
Evidence (keyboard run)
victory-nvidia-play-20261129-173933-1992.log— the game is entered; in a vehicle the title reacts to raw keyboard input (WASD), and LMB does nothing (notRT). The on-screen key prompts shown by the new prompts feature do not correspond to the effective keys.Expected
CONTROLS=GAMEPADshould present a gamepad to the title (or otherwise deliver the translated pad input) so that the mouse/keyboard translation inbindings.iniworks as in v2026.11.28.03: A/D = left-stick steering, LMB = RT throttle, RMB = LT brake.CONTROLS=KEYBOARDshould either honour the bound keys or make the HUD prompts show the actual effective layout.Regression / workaround
Replacing
victory.exewith the previous release v2026.11.28.03 (SHA-2561039c044bbb67760323f3abff7d17b924997c82c09a3ed5834eedb2e11528d8f) immediately restores the expected input behaviour with the samebindings.iniand settings. No other setting changed between the two tests.Attachments
victory-nvidia-play-20261129-174534-8.log(gamepad mode)victory-nvidia-play-20261129-173933-1992.log(keyboard mode)victory-settings.txt@dheerajc8073 on GitHub · 2026-11-29 18:16 UTC · original
Root Cause Analysis & Fix
The regression in v2026.11.29.01 stems from commits
cb696070and829188e9introducing unconditionalpads_onlyguards incrates/victory-hle/src/modules/gameinput.rs:1.
Host::keys()drops all keystrokes whenCONTROLS=gamepadIn
crates/victory-hle/src/modules/gameinput.rs:When
CONTROLS=gamepad,Host::keys()unconditionally short-circuits and returnsVec::new(), completely bypassingGetAsyncKeyStatepolling. Because the keyboard-to-gamepad translation layer (fallback_for_seat(&keys, overlay.seat)) depends onHost::keys()to synthesize the stand-inValue::Pad(mapping WASD to left stick and Enter/Shift to A button), it receives an empty key vector and produces no gamepad input.Fix: Only short-circuit when MOUSE AND KEYBOARD is NOT enabled:
2.
State::poll()strips mouse input before stick aimingIn
State::poll():When
pads_onlyis true (Controls::GamepadorControls::DualSense),mouseis unconditionally filtered toNone, discarding mouse motion beforeself.look.pad(mouse, &LOOK)can calculate right-stick camera deflection and LMB/RMB trigger presses.Fix: Allow mouse sampling when
mnk_on()is true:3. Window message dropping in
lifecycle.rsIn
crates/victory-hle/src/modules/lifecycle.rs:This correctly prevents the title's window procedure from detecting raw keystrokes (which would otherwise trigger keyboard prompts), but combined with (1) and (2) above, it previously isolated the emulator from input entirely. With (1) and (2) restored to read via
GetAsyncKeyStateand raw mouse input,CONTROLS=gamepadproperly delivers virtual gamepad input viabindings.iniwhile preserving controller HUD prompts.github-bot referenced this issue2026-11-29 18:40:22 +00:00
@dheerajc8073 on GitHub · 2026-11-29 18:35 UTC · original
Opened PR #2894 fixing the physical key starvation in \Host::keys()\ and preserving mouse translation into \self.look.pad()\ while keeping controller HUD prompts intact under \CONTROLS=gamepad.