Skip to content

README: document scripted gamepad presses - #2984

Draft
luckyteagirl wants to merge 1 commit into
xcl-dev:mainfrom
luckyteagirl:codex/readme-scripted-gamepad
Draft

luckyteagirl wants to merge 1 commit into
xcl-dev:mainfrom
luckyteagirl:codex/readme-scripted-gamepad

Conversation

@luckyteagirl

Copy link
Copy Markdown
Contributor

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

AI use

  • Codex (GPT-6.2 Sol) checked the upstream code and open work, drafted the documentation and ran verification.

Assisted-by: Codex (GPT-6.2 Sol)
@Foniass

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants