Keep keyboard controls working when a controller is connected #74
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/74"
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?
Imported from fxceless/victory-fork. Originally posted by MiguVT on 2026-11-24T21:10:24Z.
Summary
Based directly on upstream main: independent of Linux workflow PR #64, with only the input fix, tests and input documentation.
Validation
This fixes keyboard suppression when a controller is connected. The separately reported physical Xbox controller input failure remains under investigation.
Imported from fxceless/victory-fork. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T21:10:37Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
Imported from fxceless/victory-fork. Originally posted by MiguVT on 2026-11-24T22:10:38Z.
@fxceless check this ^
Imported from fxceless/victory-fork. Originally posted by dcastell1 on 2026-11-25T07:54:34Z.
This fixes a hard boot blocker on a USB pad that enumerates as player two. Verified on native Windows, RTX 5090 (driver 621.24), Windows 11 10.0.26300, diag build.
Before (main at
8dd30ab, USB pad in slot 1, slot 0 empty): the guest shell profile card (select profile / player A) never took a button.VICTORY_KEYSpresses only reach a pad in slot 0 (Source::padgates onslot == 0), and the keyboard stand-in pad only exists when no pad is connected anywhere, so with the pad plugged in there was no path at all: the title sat at 13 draws/frame, 30 fps, 1.4 ms GPU, indefinitely. Sending real Enter with the window focused did not help either, which fits the keyboard never reaching that card.With this branch (
4916c1bon8dd30ab):cargo test -p victory-hle→ 99 passed, 0 failed, includingkeyboard_supplements_first_connected_pad_and_releases_cleanly. Boot becomes deterministic: world in ~2 min, 4,691 draws/frame, 2.5 fps / 392 ms, no input loss on the way.Same tree without the branch, same .bat, same session: 13 draws forever. So on this box this is not a nicety, it is the difference between usable and not.
A related data point for the default path:
VICTORY_CARD_FETCH_INFLIGHT=1does not just slow things down here, it hangs the same profile card for 5 minutes straight (reported in #648 with the paired control).Counts only; no game data.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.