diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-29 23:24:00 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-29 23:24:00 -0500 |
| commit | 998fcbcac03f56165826c0643a42921fde747453 (patch) | |
| tree | c56b4c0cbe8b2e9e40be3ee73f9b51c115d70c1c /runtime/test/cpp_unwind_test.cpp | |
| parent | 1244e9a1e8f99c0e6f9d60abba138c96bae8dd95 (diff) | |
Pads read the moment they change: looked at every millisecond, everything polled every 8 ms as before
The input poll read the pads, keys and mouse together every 8 ms, so a press waited up to 8 ms for its reading.
Now the poll thread looks every millisecond at XInput's packet numbers of the slots that had a pad at the last
poll and at the Sony readers' count of readings unlike the one before (gameinput/hid.rs), and polls at once when
one moved; the keyboard and mouse stay at every 8 ms (the process runs at a 1 ms timer resolution: runtime.rs).
LEONIDA_PAD_QUICK=0 polls everything every 8 ms, as before. After voidopcode/vilocity 3eda937 (GPL-3.0), whose
poll thread does the same.
Tests: the gameinput module's tests (cargo test -p leonida-hle --lib gameinput), passed.
AI-assisted (Claude). Tested on an RTX 4060 Ti 16 GB, driver 616.64, Ryzen 5 7600X.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions