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

FreeBSD Manual Pages

  
 
  

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

NAME
     ALLEGRO_KEYBOARD_STATE - Allegro 5 API

SYNOPSIS
	    #include <allegro5/allegro.h>

	    typedef struct ALLEGRO_KEYBOARD_STATE ALLEGRO_KEYBOARD_STATE;

DESCRIPTION
     This is a structure that is used to hold a "snapshot" of a keyboard's state
     at  a  particular	instant.   It contains the following publically readable
     fields:

     * display - points to the display that had keyboard focus at the  time  the
       state was saved.  If no display was focused, this points to NULL.

     You   cannot   read   the	 state	of  keys  directly.   Use  the	function
     al_key_down(3).

Allegro reference manual			       ALLEGRO_KEYBOARD_STATE(3)

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

home | help