#pragma once #include void idle_init(void); void idle_tick(void); void idle_note_activity(void); // Returns true if this press was consumed as a wake-up (caller MUST skip the // button's normal action). Returns false when already awake — also notes the // activity, so callers don't need a separate idle_note_activity() call. bool idle_consume_wake_press(void); // Touch should NOT count as activity (avoids accidental wakes from pets, // sleeves, etc.). Callers use this to silently drop touch events while the // panel is dark. bool idle_is_asleep(void);