diff options
| author | OreoFR <29048345+OreoFR@users.noreply.github.com> | 2026-12-03 03:44:49 +0100 |
|---|---|---|
| committer | OreoFR <29048345+OreoFR@users.noreply.github.com> | 2026-12-03 03:44:49 +0100 |
| commit | 2ab7c60e8f5841d32b6cefdc83e7a7f049793079 (patch) | |
| tree | d5520fdaa4fc50381af0eb60c01c4aeab63bae14 /scripts/windows-boot/crash_monitor.cpp | |
| parent | c179023f9c0d1df4d55c845eeada9b0bb874501f (diff) | |
d3d12 gameinput: a leaving tap the hand-over pause swallowed keeps driving by hand
merzleckeier's review of c179023f9: with vehicle:G=Y;foot:G=RB and no
context, a G tapped inside the 400 ms pause after Caps Lock gave a neutral
pad (the pause holds back keys that change with the table), yet letting it
go switched to the on-foot table: `leaving` was armed from the raw press.
Now `leaving_sent` records that the key counted in a driving pad (its Y
sent); letting it go switches only then, otherwise driving by hand goes on.
Holding it through the pause sends Y and switches on release as before.
Tests: leaving_a_vehicle_by_hand_follows_the_remap gains the swallowed tap
(still driving, leaving cleared) and the held press (Y, then on foot).
cargo test -p leonida-hle 258 passed, 2 ignored; clippy -D warnings clean.
With the release switching unconditionally the test fails.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/windows-boot/crash_monitor.cpp')
0 files changed, 0 insertions, 0 deletions