Repository navigation
Conversation
This was referenced Nov 24, 2026
DenRakEiw
approved these changes
Nov 24, 2026
DenRakEiw
left a comment
There was a problem hiding this comment.
Verified locally merged onto origin/main (70564ae, Windows 11 x64, Rust 1.98.1 MSVC):
cargo test -p victory-hle --lib gameinput::— 8 passed, 0 failedcargo clippy -p victory-hle --all-targets— 0 warningscargo xtask policy— ok
Clean VICTORY_NO_HOST_PAD toggle to hide host gamepads, documented in README.md. Looks good.
AI-assisted (Gemini 4 Neon).
catminou4
reviewed
Nov 24, 2026
catminou4
left a comment
Contributor
There was a problem hiding this comment.
Static review only: victory-hle is Windows-only — nothing compiles or runs on macOS; source review of the diff.
VICTORY_NO_HOST_PAD hides host gamepads from titles: gameinput.rs env-gated pad suppression. Small, reversible debugging switch — fine.
zhaibingye
added a commit
to zhaibingye/VIctory
that referenced
this pull request
Nov 24, 2026
Backport Marvisak#1702. Independent reviewer reported 8 MSVC GameInput tests passed on upstream 70564ae. Linux-to-Windows MSVC-target HLE test compilation passed on the combined code with blake3 pure enabled only in the disposable verification checkout.
A connected host pad (for example a DualShock that XInput reports as pad 0) keeps the keyboard stand-in pad from being enumerated, so a title that mis-handles that pad has no keyboard input left. VICTORY_NO_HOST_PAD=1 makes every XInput slot report empty, which brings the stand-in back. From the local patch @pfhandler posted under Marvisak#1677 while running through vkd3d-proton. The flag is read once when the input hub is built and logs its state. Validation: - cargo test -p victory-hle --locked -- --test-threads=1 - cargo clippy -p victory-hle --all-targets --all-features --locked -- -D warnings - cargo xtask policy
Calvix2k
force-pushed
the
codex/hle-hide-host-pad
branch
from
November 25, 2026 00:43
10b96de to
7046f97
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the
VICTORY_NO_HOST_PADlocal patch @pfhandler posted under #1677.Summary
A connected host pad (e.g. a DualShock that XInput exposes as pad 0) keeps the keyboard stand-in pad from being enumerated, so if the title mis-handles that pad there is no keyboard input left.
VICTORY_NO_HOST_PAD=1makes every XInput slot report empty, which brings the stand-in back.INFOline says the pads are ignored, so a log explains the empty slots.Test
host_pads_can_be_hidden_for_the_keyboard_stand_inchecks that a hidden host returns no pad for connected and empty slots without calling XInput.Validation
cargo test -p victory-hle --locked -- --test-threads=1— passed (95 unit tests and 1 integration test).cargo clippy -p victory-hle --all-targets --all-features --locked -- -D warnings— passed.cargo xtask policy— passed (154 files).rustfmt --edition 2024 --checkreports only pre-existing hunks in untouched code.Tested by the reporter on GE-Proton 11-14 / vkd3d-proton 3.2.0, where it let
VICTORY_KEYSdrive the title again.