FabGL
ESP32 VGA Controller and Graphics Library
|
VirtualKey fabgl::KeyboardClass::getNextVirtualKey | ( | bool * | keyDown = NULL , |
int | timeOutMS = -1 |
||
) |
Get a virtual key from the queue.
Virtual keys are generated from scancodes only if generateVirtualKeys parameter is true (default) and createVKQueue parameter is true (default) of KeyboardClass.begin() method.
keyDown | A pointer to boolean variable which will contain if the virtual key is depressed (true) or released (false). |
timeOutMS | Timeout in milliseconds. -1 means no timeout (infinite time). |