Prompts follow CONTROLS: no key caps in GAMEPAD and DUALSENSE modes #2630

Open
github-bot wants to merge 1 commit from github-bot/gh-2630 into main AGit
Owner

@⁠LeonardoRCB on GitHub · 2026-11-29 15:14 UTC · original
LeonardoRCB:prompts-follow-controls → main · +12 −1 · 1 files · 1 commits · open

With CONTROLS set to GAMEPAD or DUALSENSE (NATIVE) in F1, the game still shows keyboard key caps instead of controller prompts.

run.rs redraws the title's prompt icons as key caps whenever VICTORY_PROMPTS is unset, without looking at CONTROLS. That contradicts pads_only in gameinput.rs, whose doc says GAMEPAD and DUALSENSE are pads only "so it shows its controller prompts from the start". VICTORY_PROMPTS is not in the F1 menu, so a player who picks DUALSENSE in F1 has no way there to get controller prompts.

This adds key_prompts(): an explicit VICTORY_PROMPTS wins as before (keys draws key caps, any other value keeps the title's own pictures); unset, key caps are drawn unless CONTROLS is gamepad or dualsense. AUTO and KEYBOARD behave as before.

With MOUSE AND KEYBOARD on (VICTORY_MNK=1), key caps stay off as before: show_keys_in_prompts skips them while VICTORY_MNK_BINDINGS is set. This change does not touch that.

Tested on Windows 11, RTX 4060, DualSense over USB, release build:

  • CONTROLS=dualsense, VICTORY_PROMPTS unset: no "key caps drawn into the icon movie" in the log; the game shows controller prompts.
  • CONTROLS=keyboard, MNK=0: the log line is back and the game shows key caps, as before.

Separate from #2498 (the diagnostics build fix); the two do not depend on each other.

**@⁠LeonardoRCB** on GitHub · 2026-11-29 15:14 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2630) `LeonardoRCB:prompts-follow-controls` → `main` · +12 −1 · 1 files · 1 commits · open With CONTROLS set to GAMEPAD or DUALSENSE (NATIVE) in F1, the game still shows keyboard key caps instead of controller prompts. `run.rs` redraws the title's prompt icons as key caps whenever `VICTORY_PROMPTS` is unset, without looking at CONTROLS. That contradicts `pads_only` in gameinput.rs, whose doc says GAMEPAD and DUALSENSE are pads only "so it shows its controller prompts from the start". `VICTORY_PROMPTS` is not in the F1 menu, so a player who picks DUALSENSE in F1 has no way there to get controller prompts. This adds `key_prompts()`: an explicit `VICTORY_PROMPTS` wins as before (`keys` draws key caps, any other value keeps the title's own pictures); unset, key caps are drawn unless CONTROLS is `gamepad` or `dualsense`. AUTO and KEYBOARD behave as before. With MOUSE AND KEYBOARD on (VICTORY_MNK=1), key caps stay off as before: `show_keys_in_prompts` skips them while `VICTORY_MNK_BINDINGS` is set. This change does not touch that. Tested on Windows 11, RTX 4060, DualSense over USB, release build: - CONTROLS=dualsense, VICTORY_PROMPTS unset: no "key caps drawn into the icon movie" in the log; the game shows controller prompts. - CONTROLS=keyboard, MNK=0: the log line is back and the game shows key caps, as before. Separate from #2498 (the diagnostics build fix); the two do not depend on each other.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 15:19:36 +00:00
This pull request has changes conflicting with the target branch.
  • apps/victory/src/run.rs
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.
git fetch -u origin '+refs/pull/2630/head:github-bot/gh-2630'
git switch 'github-bot/gh-2630'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2630'
git switch 'github-bot/gh-2630'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2630'
git switch 'github-bot/gh-2630'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2630'
git switch 'main'
git merge --squash 'github-bot/gh-2630'
git switch 'main'
git merge --ff-only 'github-bot/gh-2630'
git switch 'main'
git merge 'github-bot/gh-2630'
git push origin 'main'
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!2630
No description provided.