FabGL2 2.0.0
ESP32 Display Controller and Graphics Library for ESP-IDF
Loading...
Searching...
No Matches

◆ runAsync()

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

Initializes the application and runs the main event loop asynchronously.

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
The exit code passed to uiApp::quit().

Definition at line 359 of file fabui.cpp.