Skip to main content

pointer_press_epoch

Function pointer_press_epoch 

Source
pub fn pointer_press_epoch() -> u64
Expand description

Current pointer-press epoch — see bump_pointer_press_epoch. Two presses are consecutive (nothing pressed in between) exactly when their observed epochs differ by one.