FabGL
ESP32 Display Controller and Graphics Library
|
bool getNextVirtualKey | ( | VirtualKeyItem * | item, |
int | timeOutMS = -1 |
||
) |
Gets a virtual key from the queue, including associated scan code.
Virtual keys are generated from scancodes only if generateVirtualKeys parameter is true (default) and createVKQueue parameter is true (default) of Keyboard.begin() method.
item | Pointer to VirtualKeyItem structure which receive virtual key info. |
timeOutMS | Timeout in milliseconds. -1 means no timeout (infinite time). |
Definition at line 695 of file keyboard.cpp.