FabGL
ESP32 Display Controller and Graphics Library

◆ virtualKeyAvailable()

int virtualKeyAvailable ( )

Gets the number of virtual keys available in 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.

Returns
The number of virtual keys available to read.

Definition at line 716 of file keyboard.cpp.