Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

Description

       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.

Name

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

See Also

install_keyboard(3alleg4), set_leds(3alleg4)

Allegro                                           version 4.4.3                            key_led_flag(3alleg4)

Synopsis

#include<allegro.h>externintkey_led_flag;

See Also