FabGL
ESP32 Display Controller and Graphics Library

◆ isKeyboardAvailable()

bool isKeyboardAvailable ( )
inline

Checks if keyboard has been detected and correctly initialized.

isKeyboardAvailable() returns a valid value only after Keyboard.begin() or Keyboard.reset() has been called.

Returns
True if the keyboard is correctly initialized.
Examples:
SSD1306_OLED/128x64/NetworkTerminal/NetworkTerminal.ino, SSD1306_OLED/128x64/RTClock/RTClock.ino, VGA/AnsiTerminal/AnsiTerminal.ino, VGA/LoopbackTerminal/LoopbackTerminal.ino, and VGA/NetworkTerminal/NetworkTerminal.ino.

Definition at line 240 of file keyboard.h.