FabGL
ESP32 Display Controller and Graphics Library

◆ runAsync()

uiApp & runAsync ( BitmappedDisplayController displayController,
int  taskStack = 3000,
Keyboard keyboard = nullptr,
Mouse mouse = nullptr 
)

Initializes application and executes asynchronously the main event loop.

Parameters
displayControllerSpecifies the display controller where to run the UI
taskStackSpecifies the task stack size
keyboardThe keyboard device. The default (nullptr) gets it from the PS2Controller
mouseThe mouse device. The default (nullptr) gets it from the PS2Controller
Returns
exitCode specified calling uiApp.quit().

Definition at line 355 of file fabui.cpp.