Homepage > Man Pages > Category > Subroutines
Homepage > Man Pages > Name > K

key_led_flag

man page of key_led_flag

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

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

SYNOPSIS

#include <allegro.h> extern int key_led_flag;

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.

SEE ALSO

install_keyboard(3alleg), set_leds(3alleg) KEY_LED_FLAG(3)
 
 
 

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 27.65ms.

HTML - ganz leicht | generiere.de | doomsdaydude.de