From e70b5e2882d83fe9d61ef42546ca7de04630e731 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Wed, 14 Oct 2026 18:25:33 +0200 Subject: [PATCH] Controllers: a pad press lasts at least one game tick Vanilla samples keys once per tick, so a stick click shorter than 50 ms (sprint) could come and go between two ticks and be lost: its release waits for the next tick. Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/pad.rs | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/crates/horizon-client/src/game/pad.rs b/crates/horizon-client/src/game/pad.rs index d59e60e01..608f3c4ae 100644 --- a/crates/horizon-client/src/game/pad.rs +++ b/crates/horizon-client/src/game/pad.rs @@ -36,6 +36,11 @@ pub(super) struct Pads { /// Buttons a `pad ... tap` releases at the next poll. taps: Vec