FabGL
ESP32 Display Controller and Graphics Library

◆ getLEDs()

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

Gets 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.