FabGL
ESP32 VGA Controller and Graphics Library

◆ setLEDs()

bool fabgl::KeyboardClass::setLEDs ( bool  numLock,
bool  capsLock,
bool  scrollLock 
)
inline

Set keyboard LEDs status.

Use this method to switch-on or off the 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.
Returns
True if command has been successfully delivered to the keyboard.