README: document scripted gamepad presses #2984

Open
luckyteagirl wants to merge 1 commit from upstream-pr/2984 into main
luckyteagirl commented 2026-11-27 07:17:11 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-27T07:17:11Z.


The README now shows how to schedule repeatable gamepad presses from PowerShell. This makes the input settings used in run reports easier to reproduce.

What is in it

  • README.md: document XCL_PRESS_AT and XCL_PRESS_A_AT in Controls, with an example, the supported buttons, press duration, timing and cleanup.

Tested

  • Checked the documented values against the GameInput parser and the log clock on upstream main at 83b00818. Ran the example and cleanup in PowerShell and verified both environment changes. git diff --check passed.
  • Windows 11 build 26200, AMD Ryzen 9 5980HX, Rust 1.99.0 MSVC, debug. The workspace attempt used the default adapter selection on a machine with Radeon RX 6800M and Radeon integrated graphics (driver 30.0.13002.13003).
  • scripts/test.ps1 built the workspace. The library test process exited with 0xc0000005 in the AMD driver (amdxc64.dll). The log contains 83 passed, 1 ignored and 0 reported GPU skips before the process aborted, with no final suite totals.
  • The same library test binary passed hle::gameinput::tests::press_script_parses_buttons_and_times --exact (1 passed, 0 failed, 0 ignored).

Not tested

  • Full GPU suite completion and scripted input in a retail title.

Related

  • #2933 proposes moving scripted press times to guest entry. This README text matches current main (83b00818) and needs its timing sentence updated if #2933 lands first.

AI use

  • Codex (GPT-6.2 Sol) checked the upstream code and open work, drafted the documentation and ran verification.
<!-- greyfinch-sync:ivall/xcl:issue:5522776402 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2984). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-27T07:17:11Z. --- The README now shows how to schedule repeatable gamepad presses from PowerShell. This makes the input settings used in run reports easier to reproduce. **What is in it** - `README.md`: document `XCL_PRESS_AT` and `XCL_PRESS_A_AT` in Controls, with an example, the supported buttons, press duration, timing and cleanup. **Tested** - Checked the documented values against the GameInput parser and the log clock on upstream main at `83b00818`. Ran the example and cleanup in PowerShell and verified both environment changes. `git diff --check` passed. - Windows 11 build 26200, AMD Ryzen 9 5980HX, Rust 1.99.0 MSVC, debug. The workspace attempt used the default adapter selection on a machine with Radeon RX 6800M and Radeon integrated graphics (driver 30.0.13002.13003). - `scripts/test.ps1` built the workspace. The library test process exited with `0xc0000005` in the AMD driver (`amdxc64.dll`). The log contains 83 passed, 1 ignored and 0 reported GPU skips before the process aborted, with no final suite totals. - The same library test binary passed `hle::gameinput::tests::press_script_parses_buttons_and_times --exact` (1 passed, 0 failed, 0 ignored). **Not tested** - Full GPU suite completion and scripted input in a retail title. **Related** - #2933 proposes moving scripted press times to guest entry. This README text matches current `main` (`83b00818`) and needs its timing sentence updated if #2933 lands first. **AI use** - Codex (GPT-6.2 Sol) checked the upstream code and open work, drafted the documentation and ran verification.
Foniass commented 2026-12-01 09:17:13 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:17:13Z.


Triage (#1607) – head b6361f1

No open or merged PR documents XCL_PRESS_AT in the README; #609, #893 and #2449 extend scripted input but do not touch the README. The text matches parse_presses / scripted in hle/gameinput.rs on main: the same button names, presses of 200 ms, and times counted from host start (log::uptime), not from the title's first poll.
The PR conflicts with main's README (the keyboard/mouse override paragraph that follows the gamepad list is new) and needs a rebase.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7306482233 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2984#issuecomment-7306482233). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T09:17:13Z. --- **Triage (#1607)** – head b6361f1 No open or merged PR documents `XCL_PRESS_AT` in the README; #609, #893 and #2449 extend scripted input but do not touch the README. The text matches `parse_presses` / `scripted` in `hle/gameinput.rs` on main: the same button names, presses of 200 ms, and times counted from host start (`log::uptime`), not from the title's first poll. The PR conflicts with main's README (the keyboard/mouse override paragraph that follows the gamepad list is new) and needs a rebase. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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/2984:upstream-pr/2984'
git switch 'upstream-pr/2984'

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/2984'
git switch 'upstream-pr/2984'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2984'
git switch 'upstream-pr/2984'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2984'
git switch 'main'
git merge --squash 'upstream-pr/2984'
git switch 'main'
git merge --ff-only 'upstream-pr/2984'
git switch 'main'
git merge 'upstream-pr/2984'
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
xcl-dev/xcl!2984
No description provided.