logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_set_keyboard_leds - Allegro 5 API

Description

       Overrides  the  state of the keyboard LED indicators.  Set leds to a combination of the keyboard modifier
       flags to enable the corresponding LED  indicators  (ALLEGRO_KEYMOD_NUMLOCK,  ALLEGRO_KEYMOD_CAPSLOCK  and
       ALLEGRO_KEYMOD_SCROLLLOCK  are  supported)  or to -1 to return to default behavior.  False is returned if
       the current keyboard driver cannot set LED indicators.

Name

       al_set_keyboard_leds - Allegro 5 API

See Also

al_can_set_keyboard_leds(3alleg5)

Allegro reference manual                                                           al_set_keyboard_leds(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              bool al_set_keyboard_leds(int leds)

See Also