|
FabGL
ESP32 Display Controller and Graphics Library
|
| VirtualKey getNextVirtualKey | ( | bool * | keyDown = nullptr, |
| int | timeOutMS = -1 |
||
| ) |
Gets 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 Keyboard.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). |
Definition at line 704 of file keyboard.cpp.