pub fn write_egui_input_system(
focused_non_window_egui_context: Option<Res<'_, FocusedNonWindowEguiContext>>,
window_to_egui_context_map: Res<'_, WindowToEguiContextMap>,
modifier_keys_state: Res<'_, ModifierKeysState>,
egui_input_event_reader: EventReader<'_, '_, EguiInputEvent>,
egui_file_dnd_event_reader: EventReader<'_, '_, EguiFileDragAndDropEvent>,
egui_contexts: Query<'_, '_, (Entity, &mut EguiInput)>,
windows: Query<'_, '_, &Window>,
time: Res<'_, Time<Real>>,
)
Expand description
Reads both EguiFileDragAndDropEvent
and EguiInputEvent
events and feeds them to Egui.