std1.0.0-beta-7 SafeC docs

std :: gui::gui_fb

Function std::gui_fb_inject_event

#include <std/gui/gui_fb.h> source ยท definition

void gui_fb_inject_event(&GuiWindow win, struct GuiEvent ev)

Called by a target's own input driver/ISR with whatever it decodes (e.g. a PS/2 scancode translated to a GuiEvent); GuiWindow::poll_event() hands it back out. Dropped when GUI_FB_QUEUE_CAP events are already waiting.