set_leds (3) Linux Manual Page
set_leds – Sets the state of the keyboard LED indicators. Allegro game programming library. Synopsis #include <allegro.h> void set_leds(int leds); Description Overrides the state of the keyboard LED indicators. The parameter is a bitmask containing any of the values KB_SCROLOCK_FLAG, KB_NUMLOCK_FLAG, and KB_CAPSLOCK_FLAG, or -1 to restore the default behavior. Example: /* Cycle led indicators….
