Input: VICTORY_PAD presses buttons of a connected pad (diagnostics) #42
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/42"
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?
Imported from Marvisak/VIctory. Originally posted by EricPlayZ on 2026-11-23T23:40:45Z.
VICTORY_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
Imported from Marvisak/VIctory. Originally posted by EricPlayZ on 2026-11-23T23:45:04Z.
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