FabGL
ESP32 Display Controller and Graphics Library
|
bool begin | ( | BaseDisplayController * | displayController, |
int | maxColumns = -1 , |
||
int | maxRows = -1 , |
||
Keyboard * | keyboard = nullptr |
||
) |
Initializes the terminal.
Applications should call this method before any other method call and after resolution has been set.
displayController | The output display controller |
maxColumns | Maximum number of columns (-1 = depends by the display horizontal resolution) |
maxRows | Maximum number of rows (-1 = depends by the display vertical resolution) |
keyboard | Keyboard device. nullptr = gets from PS2Controller |
Definition at line 323 of file terminal.cpp.