FabGL
ESP32 Display Controller and Graphics Library

◆ isVKDown()

bool isVKDown ( VirtualKey  virtualKey)

Gets the virtual keys status.

This method allows to know the status of each virtual key (Down or Up).
Virtual keys are generated from scancodes only if generateVirtualKeys parameter of Keyboard.begin() method is true (default).

Parameters
virtualKeyThe Virtual Key to test.
Returns
True if the specified virtual key is down.
Examples:
VGA/AnsiTerminal/AnsiTerminal.ino.

Definition at line 1263 of file keyboard.cpp.