Keyboard stand-in pad override + gitignore debug-session artifacts #359

Open
github-bot wants to merge 1 commit from github-bot/gh-359 into main AGit
Owner

@⁠ZaneIceMaster11 on GitHub · 2026-11-24 23:51 UTC · original
ZaneIceMaster11:fix/keyboard-pad-and-policy-ignore → main · +17 −1 · 2 files · 1 commits · open

VICTORY_KEYBOARD_PAD

The keyboard's stand-in gamepad (crates/victory-hle/src/modules/gameinput.rs) only activates today when no real XInput pad is connected in any of slots 0-3. On a machine where anything enumerates as an XInput device (a phantom/ghost controller, a wireless receiver with nothing paired, third-party input remapping software), the keyboard fallback goes silently dead with no way to turn it back on - encountered this directly while testing, where it blocked progressing past a title's UI with just a keyboard. VICTORY_KEYBOARD_PAD=1 forces the stand-in pad to stay active regardless of real-pad connection state. Off by default.

Verified against the existing gameinput test suite (7 tests, no changes needed) and against a real title run.

.gitignore

Adds entries for state/captures/ (frame-dump PNGs) and state/*.log (run logs) - debug-session artifacts from testing against this fork that cargo xtask policy's repository-wide check correctly flagged (2724 violations) once they existed in the working tree. state/*.md tracking files are unaffected.

Verification

  • cargo build --release --workspace and cargo clippy --workspace --all-targets --release: clean, 0 warnings.
  • cargo test --workspace: same as this branch's baseline (22 SM 6.6 failures pending #286's Agility SDK fix, one known-flaky crash::tests::unwinds_like_the_system_walk) - nothing newly broken, xtask's own policy::tests::repository_passes_policy now passes.

Co-authored with Claude Code (Claude Sonnet 5).

**@⁠ZaneIceMaster11** on GitHub · 2026-11-24 23:51 UTC · [original](https://github.com/fxceless/victory-fork/pull/359) `ZaneIceMaster11:fix/keyboard-pad-and-policy-ignore` → `main` · +17 −1 · 2 files · 1 commits · open ## VICTORY_KEYBOARD_PAD The keyboard's stand-in gamepad (`crates/victory-hle/src/modules/gameinput.rs`) only activates today when no real XInput pad is connected in any of slots 0-3. On a machine where anything enumerates as an XInput device (a phantom/ghost controller, a wireless receiver with nothing paired, third-party input remapping software), the keyboard fallback goes silently dead with no way to turn it back on - encountered this directly while testing, where it blocked progressing past a title's UI with just a keyboard. `VICTORY_KEYBOARD_PAD=1` forces the stand-in pad to stay active regardless of real-pad connection state. Off by default. Verified against the existing gameinput test suite (7 tests, no changes needed) and against a real title run. ## .gitignore Adds entries for `state/captures/` (frame-dump PNGs) and `state/*.log` (run logs) - debug-session artifacts from testing against this fork that `cargo xtask policy`'s repository-wide check correctly flagged (2724 violations) once they existed in the working tree. `state/*.md` tracking files are unaffected. ## Verification - `cargo build --release --workspace` and `cargo clippy --workspace --all-targets --release`: clean, 0 warnings. - `cargo test --workspace`: same as this branch's baseline (22 SM 6.6 failures pending #286's Agility SDK fix, one known-flaky `crash::tests::unwinds_like_the_system_walk`) - nothing newly broken, `xtask`'s own `policy::tests::repository_passes_policy` now passes. Co-authored with Claude Code (Claude Sonnet 5).
VICTORY_KEYBOARD_PAD=1: the keyboard's stand-in gamepad (crates/victory-hle/src/
modules/gameinput.rs) only activates today when no real XInput pad is connected
in any of slots 0-3 (`any_pad`). On a machine where anything enumerates as an
XInput device (a phantom/ghost controller, a wireless receiver with nothing
paired, third-party input remapping software), the keyboard fallback goes
silently dead with no way to turn it back on - there was no way to progress a
title's UI with just a keyboard in that case. The new env var forces the
stand-in pad to stay active regardless of real-pad connection state. Off by
default; verified against the existing gameinput test suite (7 tests, no
changes needed) and against a real title run.

Also adds .gitignore entries for state/captures/ (frame-dump PNGs) and
state/*.log (run logs): debug-session artifacts from testing against this
fork, large and/or binary, that `cargo xtask policy`'s repository-wide check
correctly flags since nothing currently excludes them. state/*.md tracking
files are unaffected and still pass policy as plain text.

Verified: cargo build --release --workspace and cargo clippy --workspace
--all-targets --release both clean, 0 warnings. cargo test --workspace: same
as this branch's baseline (22 SM 6.6 failures pending PR #286's Agility SDK
fix, one known-flaky crash::tests::unwinds_like_the_system_walk) - nothing
newly broken, xtask's own policy::tests::repository_passes_policy now passes.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:41:37 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/359/head:github-bot/gh-359'
git switch 'github-bot/gh-359'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-359'
git switch 'github-bot/gh-359'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-359'
git switch 'github-bot/gh-359'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-359'
git switch 'main'
git merge --squash 'github-bot/gh-359'
git switch 'main'
git merge --ff-only 'github-bot/gh-359'
git switch 'main'
git merge 'github-bot/gh-359'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.