pub fn samples_to_clicks(
samples: &[(Duration, f32, f32)],
project_fps: u32,
) -> Vec<ClickEvent>Expand description
Resample timestamped clicks ((elapsed_since_start, x, y), normalized to
the captured frame, sorted by time) onto the project frame grid: each
click’s frame is floor(elapsed_secs · project_fps). Unlike the cursor
track, every click is kept (two clicks one frame apart are two real events
— the auto-zoom clusterer merges them by time itself). Pure.