Realm

oa::input::process_event

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.

FnRust public API

Function Documentation

pub fn process_event( event: &Event )
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.