Repository navigation
Conversation
|
The Could the test assert AI-assisted with Codex. |
|
Correct - dedupe keeps first-occurrence order and a key survives until its last overlapping hold expires; checked_sub also avoids the subtraction-underflow the old window check would hit before t=0. Boundary tests at exactly 200/250ms pin the half-open interval. |
Merge continuous holds during schedule initialization, including touching intervals. Preserve chronological order with stable ties and avoid Duration overflow. Addresses DrDarkDK's review on Marvisak#2718; overlaps with the approach in Marvisak#2499.
|
Automated triage for the maintainers. This PR merges overlapping holds of the same key in the diagnostics-only This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the Generated by Claude Code |
|
Independent local verification (Windows 11, Rust 1.100.0/MSVC, head
The named scenario was exercised through the synthetic |
With VICTORY_KEYS=0:W,0.05:A,0.1:W the diagnostics keyboard reported W, A, W at 100 ms. Report each active virtual key once, releasing it only after its last hold expires. A deterministic regression test exercises overlapping intervals, another simultaneously held key, and the release boundary. It failed before the fix and passed afterward, alongside seven existing fake-host input tests in an isolated Windows GNU run. No game assets or physical keyboard required.