Prompts: Xbox buttons in gamepad mode, not keyboard keys #2306
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!2306
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2306"
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?
@RB-404 on GitHub · 2026-11-29 11:40 UTC · original
RB-404:fix/gamepad-prompts→main· +32 −1 · 1 files · 1 commits · merged 2026-11-30 14:12 UTCWith F1's CONTROLS: GAMEPAD, the game still drew keyboard keys over the controller's buttons.
Cause: the keyboard-prompt hook (
fea7bb3c) is placed wheneverVICTORY_PROMPTSis unset, and it ignores CONTROLS. In gamepad mode the title is already given pads only (gameinput::pads_only), and since829188e9it gets no key or mouse window messages either. Every start still loggedprompts keyboard keys: hook placed, because the keys come from the hook itself, not from anything the title took for a keyboard. That's why829188e9alone didn't change the prompts.Fix: when
VICTORY_PROMPTSis unset, it now follows CONTROLS:prompts gamepad pictures: CONTROLS is gamepad.VICTORY_PROMPTS=keysstill draws keys in any mode, and any other value still turns them off.Tested: a new
key_prompts_follow_controls_unless_askedtest, and the existingupscaler_modetests, pass. In the game (RX 9070 XT, Series X, CONTROLS GAMEPAD): the hook wasn't placed, and the game showed Xbox buttons.The workspace clippy gate currently fails on main itself (in victory-shader and victory-loader), which this PR doesn't touch.
🤖 Generated with Claude Code