From f6cff5fb11da9eb1dc2cfdffb45c9958c64c67f6 Mon Sep 17 00:00:00 2001 From: lizzie Date: Sun, 13 Sep 2026 02:30:50 +0000 Subject: [PATCH] 2026-09-13 02:30:50 Signed-off-by: lizzie --- src/input_common/drivers/mouse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input_common/drivers/mouse.cpp b/src/input_common/drivers/mouse.cpp index 5530ef0630..e571c8d706 100644 --- a/src/input_common/drivers/mouse.cpp +++ b/src/input_common/drivers/mouse.cpp @@ -164,6 +164,8 @@ void Mouse::Move(int x, int y, int center_x, int center_y) { void Mouse::NotifyChanged() { auto const timestamp = Common::SteadyClock::Now(); if (button_pressed || has_moved) { + UpdateStickInput(timestamp); + UpdateMotionInput(timestamp); has_moved = false; } else { // neutral due to no movement or press @@ -183,8 +185,6 @@ void Mouse::NotifyChanged() { .delta_timestamp = u64(std::chrono::duration_cast(timestamp - last_notify_timestamp).count()), }); } - UpdateStickInput(timestamp); - UpdateMotionInput(timestamp); last_notify_timestamp = timestamp; }