Skip to main content

current_multi_touch

Function current_multi_touch 

Source
pub fn current_multi_touch() -> Option<MultiTouchInfo>
Expand description

Fetch the current frame’s multi-touch aggregate. Returns None when fewer than two fingers are down on any device, so a widget writes: if let Some(mt) = current_multi_touch() { … }.