key_led_flag man page

key_led_flag — Flag to prevent the keyboard LEDs from being updated. Allegro game programming library.


#include <allegro.h>

extern int key_led_flag;


By default, the capslock, numlock, and scroll-lock keys toggle the keyboard LED indicators when they are pressed. If you are using these keys for input in your game (eg. capslock to fire) this may not be desirable, so you can clear this flag to prevent the LED's being updated.

See Also

install_keyboard(3), set_leds(3)

Referenced By

install_keyboard(3), set_leds(3).

Explore man page connections for key_led_flag(3).

Allegro version 4.4.2 Allegro manual