From a518e1e5d88864f47b99780c325bfc8c1dbd8ada Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Tue, 21 Mar 2023 20:16:11 +1100 Subject: Sync activity timestamps between sides. (#20192) Co-authored-by: Stefan Kerkmann --- quantum/keyboard.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'quantum/keyboard.h') diff --git a/quantum/keyboard.h b/quantum/keyboard.h index d0b52dd13a..caf0fbd466 100644 --- a/quantum/keyboard.h +++ b/quantum/keyboard.h @@ -120,6 +120,8 @@ uint32_t last_matrix_activity_elapsed(void); // Number of milliseconds since the uint32_t last_encoder_activity_time(void); // Timestamp of the last encoder activity uint32_t last_encoder_activity_elapsed(void); // Number of milliseconds since the last encoder activity +void set_activity_timestamps(uint32_t matrix_timestamp, uint32_t encoder_timestamp); // Set the timestamps of the last matrix and encoder activity + uint32_t get_matrix_scan_rate(void); #ifdef __cplusplus -- cgit v1.2.3