Function write_keyboard_input_events_system

Source
pub fn write_keyboard_input_events_system(
    modifier_keys_state: Res<'_, ModifierKeysState>,
    focused_non_window_egui_context: Option<Res<'_, FocusedNonWindowEguiContext>>,
    keyboard_input_reader: EventReader<'_, '_, KeyboardInput>,
    egui_input_event_writer: EventWriter<'_, EguiInputEvent>,
    egui_contexts: Query<'_, '_, &EguiContextSettings, With<EguiContext>>,
)
Expand description

Reads KeyboardInput events and wraps them into EguiInputEvent, can redirect events to FocusedNonWindowEguiContext.