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

Open
ZaneIceMaster11 wants to merge 1 commit from upstream-pr/359 into main
ZaneIceMaster11 commented 2026-11-24 23:51:59 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by ZaneIceMaster11 on 2026-11-24T23:51:59Z.


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).

<!-- greyfinch-sync:fxceless/victory-fork:issue:6593832638 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/359). Originally posted by [ZaneIceMaster11](https://github.com/ZaneIceMaster11) on 2026-11-24T23:51:59Z. --- ## 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).
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/359:upstream-pr/359'
git switch 'upstream-pr/359'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/359'
git switch 'upstream-pr/359'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/359'
git switch 'upstream-pr/359'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/359'
git switch 'main'
git merge --squash 'upstream-pr/359'
git switch 'main'
git merge --ff-only 'upstream-pr/359'
git switch 'main'
git merge 'upstream-pr/359'
git push origin 'main'
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
fxceless/victory-fork!359
No description provided.