Skip to main content

pointer_key

Function pointer_key 

Source
pub fn pointer_key(kind: PointerKind, id: PointerId) -> u64
Expand description

Stable key for the pointer behind an event. Touch fingers keep their id so two fingers can hold two tracks; mouse and pen collapse to one key.