diff --git a/src/input_common/drivers/sdl_driver.cpp b/src/input_common/drivers/sdl_driver.cpp index c9bfb434b1..ad854110ef 100644 --- a/src/input_common/drivers/sdl_driver.cpp +++ b/src/input_common/drivers/sdl_driver.cpp @@ -125,11 +125,12 @@ public: std::scoped_lock lock{mutex}; const u64 sensor_timestamp = event.sensor_timestamp != 0 ? event.sensor_timestamp : event.timestamp; + if (last_motion_update == 0) { last_motion_update = sensor_timestamp; return false; } - if (sensor_timestamp <= last_motion_update) { + if (sensor_timestamp < last_motion_update) { return false; }