Input: VICTORY_PAD presses buttons of a connected pad (diagnostics) #42
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!42
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/42/head"
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?
@EricPlayZ on GitHub · 2026-11-23 23:40 UTC · original
EricPlayZ:pr-scripted-pad→main· +75 −1 · 2 files · 1 commits · closed without mergingVICTORY_KEYSdrives the keyboard's stand-in pad, which goes away while a controller is connected, so a scripted run with a pad plugged in presses nothing. This addsVICTORY_PAD=<seconds>:<button>,...(diagnostics builds): it holds buttons of the host pad in slot 0 for 0.2 s at those times, on top of what the pad reports. Buttons: A B X Y Menu View Up Down Left Right LB RB.pad_scriptparses the list (unknown buttons and bad times are left out);pad_scripts_parse_buttons_at_timestests it.Tested:
cargo test -p victory-hle --lib gameinput(8 passed), a diagnostics build ofvictory-hle,cargo xtask policy(ok), and rustfmt with the repo config reports nothing new in the changed file. Not yet run live with a controller connected (Windows 11, RTX 2070 SUPER); I'll add the result here once I have.AI-assisted (Claude Code).
🤖 Generated with Claude Code
@EricPlayZ on GitHub · 2026-11-23 23:45 UTC · original
Closing: this is a test-run convenience rather than something that helps the game run, and I'd rather not add review load for it. Sorry for the noise.
Pull request closed