Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
al_set_keyboard_leds(3)     Library Functions Manual	 al_set_keyboard_leds(3)

NAME
     al_set_keyboard_leds - Allegro 5 API

SYNOPSIS
	    #include <allegro5/allegro.h>

	    bool al_set_keyboard_leds(int leds)

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

SEE ALSO
     al_can_set_keyboard_leds(3)

Allegro reference manual				 al_set_keyboard_leds(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=al_set_keyboard_leds&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help