MOUSE AND KEYBOARD cannot be turned off; gamepad prompts show as keyboard #2197

Closed
opened 2026-11-29 10:28:19 +00:00 by github-bot · 12 comments
Owner

@⁠fenfive-hub on GitHub · 2026-11-29 10:25 UTC · original

Environment

  • GPU: RTX 4090, 64 GB RAM, Windows 11
  • Build: v2026.11.29.01

Symptoms

  • F1 > MOUSE AND KEYBOARD set OFF does not take effect.
  • The game shows keyboard prompts instead of gamepad prompts, even though a gamepad is used.

Settings (victory-settings.txt)

VICTORY_MNK=
VICTORY_CONTROLS=gamepad

CONTROLS and MOUSE AND KEYBOARD are both live:false in the F1 menu (apps/victory/src/host/menu.rs), so they require a restart. After restart the game still shows keyboard prompts.

Expected

With VICTORY_MNK unset and VICTORY_CONTROLS=gamepad, the game should show gamepad prompts and ignore keyboard/mouse input.

Observed code path

In crates/victory-hle/src/modules/gameinput.rs, pads_only_for(Controls::Gamepad, _) returns true, so the pad reader should be active; yet keyboard prompts still show. Possibly the prompt-selection logic elsewhere keys off mouse/keyboard window messages even when MnK is off.

**@⁠fenfive-hub** on GitHub · 2026-11-29 10:25 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197) ## Environment - GPU: RTX 4090, 64 GB RAM, Windows 11 - Build: v2026.11.29.01 ## Symptoms - F1 > MOUSE AND KEYBOARD set OFF does not take effect. - The game shows keyboard prompts instead of gamepad prompts, even though a gamepad is used. ## Settings (victory-settings.txt) ``` VICTORY_MNK= VICTORY_CONTROLS=gamepad ``` `CONTROLS` and `MOUSE AND KEYBOARD` are both `live:false` in the F1 menu (apps/victory/src/host/menu.rs), so they require a restart. After restart the game still shows keyboard prompts. ## Expected With `VICTORY_MNK` unset and `VICTORY_CONTROLS=gamepad`, the game should show gamepad prompts and ignore keyboard/mouse input. ## Observed code path In crates/victory-hle/src/modules/gameinput.rs, `pads_only_for(Controls::Gamepad, _)` returns true, so the pad reader should be active; yet keyboard prompts still show. Possibly the prompt-selection logic elsewhere keys off mouse/keyboard window messages even when MnK is off.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 10:28:19 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-29 10:26 UTC · original

Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-11-29 10:26 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197#issuecomment-7254431480) Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠j2hunter on GitHub · 2026-11-29 10:30 UTC · original

Its happening on mine as well. same GPU but i doubt thats the reason lol

**@⁠j2hunter** on GitHub · 2026-11-29 10:30 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197#issuecomment-7254479113) Its happening on mine as well. same GPU but i doubt thats the reason lol
Author
Owner

@⁠cambuster69 on GitHub · 2026-11-29 10:31 UTC · original

same here

**@⁠cambuster69** on GitHub · 2026-11-29 10:31 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197#issuecomment-7254490908) same here
Author
Owner

@⁠fenfive-hub on GitHub · 2026-11-29 10:32 UTC · original

victory-nvidia-play-20261129-101847-16640.log

**@⁠fenfive-hub** on GitHub · 2026-11-29 10:32 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197#issuecomment-7254502996) [victory-nvidia-play-20261129-101847-16640.log](https://github.com/user-attachments/files/35568768/victory-nvidia-play-20261129-101847-16640.log)
Author
Owner

@⁠Thickishcoast on GitHub · 2026-11-29 10:35 UTC · original

changing VICTORY_PROMPTS=gamepad in victory-settings.txt fixed for me

**@⁠Thickishcoast** on GitHub · 2026-11-29 10:35 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197#issuecomment-7254536095) changing VICTORY_PROMPTS=gamepad in victory-settings.txt fixed for me
Author
Owner

@⁠cambuster69 on GitHub · 2026-11-29 10:38 UTC · original

f1 sets VICTORY_CONTROLS=gamepad instead of VICTORY_CONTROLS=gamepad

**@⁠cambuster69** on GitHub · 2026-11-29 10:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197#issuecomment-7254575336) f1 sets VICTORY_CONTROLS=gamepad instead of VICTORY_CONTROLS=gamepad
Author
Owner

@⁠cloph-dsp on GitHub · 2026-11-29 10:51 UTC · original

I'm going to work on this: when VICTORY_PROMPTS is unset, the launcher installs keyboard prompts unconditionally, so VICTORY_CONTROLS=gamepad (or MOUSE AND KEYBOARD off) is ignored. I'll make the default follow the same CONTROLS/MNK rule as pads_only_for, keep the explicit VICTORY_PROMPTS override, and add a title-free synthetic test. Branch/PR will follow, with no game data or hardware involved. (AI-assisted, Hy4 flash.)

**@⁠cloph-dsp** on GitHub · 2026-11-29 10:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197#issuecomment-7254711288) I'm going to work on this: when `VICTORY_PROMPTS` is unset, the launcher installs keyboard prompts unconditionally, so `VICTORY_CONTROLS=gamepad` (or MOUSE AND KEYBOARD off) is ignored. I'll make the default follow the same CONTROLS/MNK rule as `pads_only_for`, keep the explicit `VICTORY_PROMPTS` override, and add a title-free synthetic test. Branch/PR will follow, with no game data or hardware involved. (AI-assisted, Hy4 flash.)
Author
Owner

@⁠Yaklo on GitHub · 2026-11-29 11:56 UTC · original

Hey, to fix the gamepad button prompts not showing up, you can just add a launch parameter to your shortcut or run it from the command line like this:

victory.exe play --set VICTORY_PROMPTS=gamepad

Hope this helps!

**@⁠Yaklo** on GitHub · 2026-11-29 11:56 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197#issuecomment-7255450127) Hey, to fix the gamepad button prompts not showing up, you can just add a launch parameter to your shortcut or run it from the command line like this: `victory.exe play --set VICTORY_PROMPTS=gamepad` Hope this helps!
Author
Owner

@⁠tippythetaidum on GitHub · 2026-11-29 12:47 UTC · original

Same here: RTX 5080, Windows 11, source build of 829188e9 (plus #1926, #1930 and #2263, none of which touch input), playing with a controller. With the F1 defaults (CONTROLS AUTO, MOUSE AND KEYBOARD off, VICTORY_PROMPTS unset) the start logs prompts keyboard keys: hook placed, and the prompts show key caps (Z, E, X). After switching F1 to MOUSE AND KEYBOARD on (CONTROLS KEYBOARD) and restarting, it logs prompts gamepad pictures: keyboard prompts use the stock Victory bindings instead.

Three open PRs target this, and they give different pictures depending on the settings. This is read from their diffs, not run in game (VICTORY_PROMPTS unset, VICTORY_NATIVE_MOUSE at its default):

AUTO, MOUSE AND KEYBOARD off (the default) AUTO, MOUSE AND KEYBOARD on GAMEPAD or DUALSENSE, MOUSE AND KEYBOARD off
main 829188e9 key caps pad art key caps
#2306 key caps pad art pad art
#2257 pad art pad art pad art
#2134 pad art key caps pad art

Two things stand out:

  • #2306 and #2257 change only the call site. show_keys_in_prompts (apps/victory/src/run.rs) still returns early whenever VICTORY_MNK_BINDINGS is set. Both launchers set it whenever VICTORY_MNK=1 (scripts/play-foxhound.ps1:278, apps/victory/src/play.rs:1219). So with MOUSE AND KEYBOARD on, both still draw pad art, and the inverted half reported in #2343 and #2105 stays. For #2257 that means AUTO with MOUSE AND KEYBOARD on gives pad art, although its helper returns true there and its description says AUTO follows MOUSE AND KEYBOARD. Only #2134 replaces that early return.
  • The default column is a real trade-off. With MOUSE AND KEYBOARD off the title gets no keyboard or mouse device, but when no pad has shown input the keys still drive the keyboard's stand-in pad (gameinput.rs: only the KEYBOARD and MOUSE devices are dropped under pads_only(), the FALLBACK pad is not). So a keyboard-only player on the defaults would see pad art with #2257 or #2134, and a controller player on the defaults keeps key caps with #2306.
**@⁠tippythetaidum** on GitHub · 2026-11-29 12:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197#issuecomment-7256068601) Same here: RTX 5080, Windows 11, source build of `829188e9` (plus #1926, #1930 and #2263, none of which touch input), playing with a controller. With the F1 defaults (CONTROLS AUTO, MOUSE AND KEYBOARD off, `VICTORY_PROMPTS` unset) the start logs `prompts keyboard keys: hook placed`, and the prompts show key caps (Z, E, X). After switching F1 to MOUSE AND KEYBOARD on (CONTROLS KEYBOARD) and restarting, it logs `prompts gamepad pictures: keyboard prompts use the stock Victory bindings` instead. Three open PRs target this, and they give different pictures depending on the settings. This is read from their diffs, not run in game (`VICTORY_PROMPTS` unset, `VICTORY_NATIVE_MOUSE` at its default): | | AUTO, MOUSE AND KEYBOARD off (the default) | AUTO, MOUSE AND KEYBOARD on | GAMEPAD or DUALSENSE, MOUSE AND KEYBOARD off | |---|---|---|---| | main `829188e9` | key caps | pad art | key caps | | #2306 | key caps | pad art | pad art | | #2257 | pad art | pad art | pad art | | #2134 | pad art | key caps | pad art | Two things stand out: - **#2306 and #2257 change only the call site.** `show_keys_in_prompts` (`apps/victory/src/run.rs`) still returns early whenever `VICTORY_MNK_BINDINGS` is set. Both launchers set it whenever `VICTORY_MNK=1` (`scripts/play-foxhound.ps1:278`, `apps/victory/src/play.rs:1219`). So with MOUSE AND KEYBOARD on, both still draw pad art, and the inverted half reported in #2343 and #2105 stays. For #2257 that means AUTO with MOUSE AND KEYBOARD on gives pad art, although its helper returns true there and its description says AUTO follows MOUSE AND KEYBOARD. Only #2134 replaces that early return. - **The default column is a real trade-off.** With MOUSE AND KEYBOARD off the title gets no keyboard or mouse device, but when no pad has shown input the keys still drive the keyboard's stand-in pad (`gameinput.rs`: only the KEYBOARD and MOUSE devices are dropped under `pads_only()`, the FALLBACK pad is not). So a keyboard-only player on the defaults would see pad art with #2257 or #2134, and a controller player on the defaults keeps key caps with #2306.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 15:57 UTC · original

Update: the next build fixes this. Button prompts will follow only the F1 settings: Xbox pictures by default, PlayStation pictures if you pick them, and keyboard keys only when CONTROLS is KEYBOARD or MOUSE AND KEYBOARD is on. Nothing is detected automatically any more.

**@⁠trustno1-coder** on GitHub · 2026-11-29 15:57 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197#issuecomment-7258499269) Update: the next build fixes this. Button prompts will follow only the F1 settings: Xbox pictures by default, PlayStation pictures if you pick them, and keyboard keys only when CONTROLS is KEYBOARD or MOUSE AND KEYBOARD is on. Nothing is detected automatically any more.
Author
Owner

@⁠openmubr on GitHub · 2026-11-30 00:29 UTC · original

Since v2026.11.29.02, button prompts follow the F1 settings only. Could you check on the latest release, with CONTROLS not set to KEYBOARD and MOUSE AND KEYBOARD off? If keyboard icons still show, please attach the play log from that run.

Community triage, drafted with an AI assistant; not from the maintainer.

**@⁠openmubr** on GitHub · 2026-11-30 00:29 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197#issuecomment-7265319582) Since [v2026.11.29.02](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.02), button prompts follow the F1 settings only. Could you check on the latest release, with CONTROLS not set to KEYBOARD and MOUSE AND KEYBOARD off? If keyboard icons still show, please attach the play log from that run. _Community triage, drafted with an AI assistant; not from the maintainer._
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-30 16:39 UTC · original

This should be fixed in v2026.11.29.02. If it still happens on the latest version, please open a new issue with the logs from a run on that version (the play log from %LOCALAPPDATA%\victory\logs and crashes.log).

**@⁠trustno1-coder** on GitHub · 2026-11-30 16:39 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2197#issuecomment-7285031213) This should be fixed in [v2026.11.29.02](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.02). If it still happens on the latest version, please open a new issue with the logs from a run on that version (the play log from `%LOCALAPPDATA%\victory\logs` and `crashes.log`).
This discussion has been locked. Commenting is limited to contributors.
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#2197
No description provided.