gameinput: boot.ps1 names the :hold form; rewrap the script header comment

Review follow-up (MoonEyes): the InputScript help in boot.ps1 now says
each press is held 300 ms and that button@seconds:hold holds it longer.
The header comment in gameinput_script.h is wrapped at 120 like the rest
of the file. Comments only; no code change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
klikso
2026-11-26 13:09:17 +00:00
parent 1ce60558c7
commit 7bd4cec026
2 changed files with 7 additions and 5 deletions

View File

@ -7,10 +7,11 @@
//
// Each entry is button@seconds[:hold], the seconds counted from the shim's first update. A press is held for `hold`
// seconds (kHoldSeconds when the entry has none), then released: a longer hold reaches a title that reads its pad
// only every few seconds, as the retail title does at world-start frame rates. Buttons: a b x y start back lb rb up down left right; rsup and rsdown throw the right stick fully up
// or down for the same time (they replay the stick throws the press log writes). Spaces around an entry are allowed;
// empty entries, unknown buttons, invalid times (negative, non-finite, trailing text) and invalid holds (zero,
// negative, non-finite, more than kMaxHoldSeconds) are counted as rejected.
// only every few seconds, as the retail title does at world-start frame rates. Buttons: a b x y start back lb rb
// up down left right; rsup and rsdown throw the right stick fully up or down for the same time (they replay the
// stick throws the press log writes). Spaces around an entry are allowed; empty entries, unknown buttons, invalid
// times (negative, non-finite, trailing text) and invalid holds (zero, negative, non-finite, more than
// kMaxHoldSeconds) are counted as rejected.
#pragma once
#include <algorithm>
#include <cctype>

View File

@ -50,7 +50,8 @@
.PARAMETER InputScript
LEONIDA_INPUT_SCRIPT: timed pad presses, seconds since the pad's first poll (button@seconds, comma-separated;
buttons a b x y start back lb rb up down left right). Sets LEONIDA_KEYBOARD_PAD=always. Builds older than
buttons a b x y start back lb rb up down left right). Each press is held 300 ms; button@seconds:hold holds it
longer, e.g. b@1100:3 for a title that reads its pad only every few seconds. Sets LEONIDA_KEYBOARD_PAD=always. Builds older than
main @ 8146ef690 ignore a script longer than 63 characters. Default 'a@45,a@60,a@75,a@90'.
.PARAMETER NoInput