pub fn update_input<'a>(
    keyboard: &'a mut KeyBuf,
    mouse: &'a mut MouseBuf,
    events: impl IntoIterator<Item = &'a Event<'a, ()>>
)
Expand description

Handles keyboard and mouse Events while updating the provided buffers.