logo

Function bevy::input::keyboard::keyboard_input_system[]

pub fn keyboard_input_system(
    keyboard_input: ResMut<'_, Input<KeyCode>>,
    keyboard_input_events: EventReader<'_, '_, KeyboardInput>
)
Expand description

Updates the Input<KeyCode> resource with the latest KeyboardInput events