FabGL
ESP32 VGA Controller and Graphics Library

◆ isVKDown()

bool fabgl::KeyboardClass::isVKDown ( VirtualKey  virtualKey)

Get 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 KeyboardClass.begin() method is true (default).

Parameters
virtualKeyThe Virtual Key to test.
Returns
True if the specified virtual key is down.