Skip to main content

process_event

Function process_event 

Source
pub fn process_event(event: &Event)
Expand description

Feed one raw platform event into the per-frame snapshot.

Mouse motion/buttons/wheel fold into the pointer state; key down/up sets the scancode-indexed held bits. Press/release edges are derived by update.

Donor: oa::input::processEvent.