.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_set_keyboard_leds" "3" "" "Allegro reference manual" .SH NAME al_set_keyboard_leds \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] bool al_set_keyboard_leds(int leds) .EE .SH DESCRIPTION Overrides the state of the keyboard LED indicators. Set \f[CR]leds\f[R] to a combination of the keyboard modifier flags to enable the corresponding LED indicators (\f[CR]ALLEGRO_KEYMOD_NUMLOCK\f[R], \f[CR]ALLEGRO_KEYMOD_CAPSLOCK\f[R] and \f[CR]ALLEGRO_KEYMOD_SCROLLLOCK\f[R] are supported) or to \-1 to return to default behavior. False is returned if the current keyboard driver cannot set LED indicators. .SH SEE ALSO al_can_set_keyboard_leds(3)