1key_led_flag(3)                 Allegro manual                 key_led_flag(3)
2
3
4

NAME

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

SYNOPSIS

10       #include <allegro.h>
11
12
13       extern int key_led_flag;
14

DESCRIPTION

16       By default, the capslock, numlock, and scroll-lock keys toggle the key‐
17       board LED indicators when they are pressed. If you are using these keys
18       for input in your game (eg. capslock to fire) this may  not  be  desir‐
19       able, so you can clear this flag to prevent the LED's being updated.
20
21
22
23

SEE ALSO

25       install_keyboard(3), set_leds(3)
26
27
28
29Allegro                          version 4.2.2                 key_led_flag(3)
Impressum