FabGL
ESP32 Display Controller and Graphics Library
|
void enableVirtualKeys | ( | bool | generateVirtualKeys, |
bool | createVKQueue | ||
) |
Dynamically enables or disables Virtual Keys generation.
This method can be called after begin().
generateVirtualKeys | If true creates a task which consumes scancodes and produces virtual keys, so you can call Keyboard.isVKDown(). If False destroys the task. |
createVKQueue | If true creates a task which consunes scancodes to produce virtual keys and put them in a queue, so you can call Keyboard.isVKDown(), Keyboard.virtualKeyAvailable() and Keyboard.getNextVirtualKey(). I False destroys the queue. |
Definition at line 100 of file keyboard.cpp.