Function convert_keyboard_input

Source
pub fn convert_keyboard_input(
    keyboard_input: &KeyEvent,
    window: Entity,
) -> KeyboardInput
Expand description

Converts a winit::event::KeyEvent and a window Entity to a Bevy KeyboardInput