Match Xbox and keyboard prompts to the active input mode #2134

Merged
Rileyxdev merged 1 commit from upstream-pr/2134 into main 2026-11-30 14:12:03 +00:00
Rileyxdev commented 2026-11-29 09:48:21 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Rileyxdev on 2026-11-29T09:48:21Z.


Fixes #2105. Related to #2088 and #1610.

What it changes

With F1 CONTROLS = AUTO, the title screen showed an Enter keycap for PLAYER with MOUSE AND KEYBOARD = OFF, then an Xbox A glyph after enabling keyboard input and restarting. The launcher supplies bindings.ini in native mouse mode, but that input path uses the stock keys. Checking only for the presence of the bindings file made the prompt hook select the opposite artwork in both cases.

The prompt hook now checks the effective input mode and whether the legacy binding sampler is in use. Controller-only modes retain the Xbox artwork. The default native keyboard path draws stock keycaps. A legacy custom profile retains its original icons because its bindings can differ from the stock keys.

How it was tested

I confirmed the fix in-game using an Xbox controller on a Windows 11 cloud PC with an RTX 5070, streamed to my Mac. The pre-fix settings screenshot shows Series S, 960×540, DLSS Performance and 4× frame generation.

To reproduce, use the title screen, leave CONTROLS on AUTO, and toggle MOUSE AND KEYBOARD. Use SAVE AND RESTART NOW after each change. Compare the PLAYER prompt at the lower right.

Input setting Before Expected with this fix
OFF Enter keycap Xbox A glyph
ON, default native input Xbox A glyph Enter keycap
  • Original screenshots: OFF, with F1 visible and ON, after closing F1.
  • Windows x64 release build and executable smoke test passed. The filtered suites passed 3 HLE input tests and 36 prompt-rendering tests, including the new regression test. CI run · Full Windows build and test log.
  • Tested executable SHA-256 from the CI artifact: aec542c621af6d53821e3ba2abac0bf20e92bcf23760067c8b9c58bb2fc0a8cb. A game-session log was not captured.

Checked for overlap

  • Checked the open PRs for the same prompt-selection issue. This builds on #1610 and covers the inverted prompts reported in #2105.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5549550296 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2134). Originally posted by [Rileyxdev](https://github.com/Rileyxdev) on 2026-11-29T09:48:21Z. --- Fixes #2105. Related to #2088 and #1610. ## What it changes With F1 **CONTROLS = AUTO**, the title screen showed an Enter keycap for **PLAYER** with **MOUSE AND KEYBOARD = OFF**, then an Xbox A glyph after enabling keyboard input and restarting. The launcher supplies `bindings.ini` in native mouse mode, but that input path uses the stock keys. Checking only for the presence of the bindings file made the prompt hook select the opposite artwork in both cases. The prompt hook now checks the effective input mode and whether the legacy binding sampler is in use. Controller-only modes retain the Xbox artwork. The default native keyboard path draws stock keycaps. A legacy custom profile retains its original icons because its bindings can differ from the stock keys. ## How it was tested I confirmed the fix in-game using an Xbox controller on a Windows 11 cloud PC with an RTX 5070, streamed to my Mac. The pre-fix settings screenshot shows Series S, 960×540, DLSS Performance and 4× frame generation. To reproduce, use the title screen, leave **CONTROLS** on **AUTO**, and toggle **MOUSE AND KEYBOARD**. Use **SAVE AND RESTART NOW** after each change. Compare the **PLAYER** prompt at the lower right. | Input setting | Before | Expected with this fix | | --- | --- | --- | | OFF | Enter keycap | Xbox A glyph | | ON, default native input | Xbox A glyph | Enter keycap | - Original screenshots: [OFF, with F1 visible](https://github.com/Xiaobonor/VIctory-NVIDIA/releases/download/evidence-input-prompts-97a53b1/before-mnk-off.png) and [ON, after closing F1](https://github.com/Xiaobonor/VIctory-NVIDIA/releases/download/evidence-input-prompts-97a53b1/before-mnk-on-reported.png). - Windows x64 release build and executable smoke test passed. The filtered suites passed 3 HLE input tests and 36 prompt-rendering tests, including the new regression test. [CI run](https://github.com/Xiaobonor/VIctory-NVIDIA/actions/runs/46248208397) · [Full Windows build and test log](https://github.com/Xiaobonor/VIctory-NVIDIA/releases/download/evidence-input-prompts-97a53b1/windows-build-and-tests.log). - Tested executable SHA-256 from the CI artifact: `aec542c621af6d53821e3ba2abac0bf20e92bcf23760067c8b9c58bb2fc0a8cb`. A game-session log was not captured. ## Checked for overlap - [x] Checked the open PRs for the same prompt-selection issue. This builds on #1610 and covers the inverted prompts reported in #2105.
Sign in to join this conversation.
No reviewers
No labels
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.

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