FabGL
ESP32 Display Controller and Graphics Library

◆ setLEDs()

bool setLEDs ( bool  numLock,
bool  capsLock,
bool  scrollLock 
)

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

Definition at line 175 of file keyboard.cpp.