FabGL
ESP32 VGA Controller and Graphics Library

◆ getLEDs()

void fabgl::KeyboardClass::getLEDs ( bool *  numLock,
bool *  capsLock,
bool *  scrollLock 
)

Get keyboard LEDs status.

Use this method to know the current status of NUMLOCK, CAPSLOCK and SCROLLLOCK LEDs.

Parameters
numLockWhen true the NUMLOCK LED is switched on.
capsLockWhen true the CAPSLOCK LED is switched on.
scrollLockWhen true the SCROLLLOCK LED is switched on.