Skip to main content

get_idle_secs

Function get_idle_secs 

Source
pub fn get_idle_secs() -> Result<u64, String>
Expand description

Seconds since the last keyboard/mouse input. Used by the overlay to drive the typing-pause feature: while the user is mid-keystroke the countdown is paused.