diff options
| author | DadaCap <167002618+DadaCap@users.noreply.github.com> | 2026-11-24 16:10:21 +0100 |
|---|---|---|
| committer | QemmHD <290605352+QemmHD@users.noreply.github.com> | 2026-11-24 21:45:32 -0500 |
| commit | 0e5e33bc497dee9b01963576aecc3cc49bf28a13 (patch) | |
| tree | 7bbfb1f9b79bc2700632a8c72602f41eced2342c /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp | |
| parent | 2213d5cb8f68a874e9f885eaf799b6f7fb7192a1 (diff) | |
gameinput: report a missed press once to a slow reader (RT-GAMEINPUT-SLOW-READER)
A title that reads a pad with GetCurrentReading once a frame, at a few
frames a second, never sees a press that came and went between two
reads. A pad now keeps the newest reading that pressed a button the last
read did not report; a read more than kSlowReaderUs (50 ms) after the
previous one answers that press once, and the next read the pad's real
state.
Carried from DadaCap's boot-prototype fa497b930, split to the GameInput
part (runtime/shims/gameinput.cpp and its test in
runtime/test/gameinput_test.cpp); the other shims in that commit are not
included. Applied unchanged.
AI-assisted. Run on Windows 11, RTX 5080. No game data.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SR1Fv7eQNgZjM6miWPKjHf
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions