HLE: add VICTORY_NO_HOST_PAD to hide host gamepads #1702
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1702
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1702"
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?
@Calvix2k on GitHub · 2026-11-24 20:55 UTC · original
Calvix2k:codex/hle-hide-host-pad→main· +45 −2 · 2 files · 2 commits · openImplements 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.@Marvisak on GitHub · 2026-11-25 03:34 UTC · original · edited 2026-11-25 22:24 UTC
Automated triage for the maintainers.
Needs rebase. This PR no longer merges cleanly into
main:mainhas moved since the last triage, and the branch now conflicts incrates/victory-hle/src/modules/gameinput.rs. It will be reviewed again once it is rebased onto currentmain.Previous verdict for this head: merge candidate.
Generated by Claude Code
68c1f7f20ftoe34995be3b@DenRakEiw on GitHub · 2026-11-24 21:57 UTC · original · approved these changes
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— okClean
VICTORY_NO_HOST_PADtoggle to hide host gamepads, documented inREADME.md. Looks good.AI-assisted (Gemini 4 Neon).
@catminou4 on GitHub · 2026-11-24 22:20 UTC · original · reviewed
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.
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.