aa_getkey (3) - Linux Manuals

aa_getkey: return next keypress event from queue.

NAME

aa_getkey - return next keypress event from queue.

SYNOPSIS

#include <aalib.h>

int aa_getkey
(
       aa_context *c,

       int wait

);

PARAMETERS

aa_context *c
Specifies the AA-lib context to operate on.
int wait
1 if you wish to wait for the even when queue is empty.

DESCRIPTION

Return next keypress event from queue.

RETURNS

Next keypress event from queue (values lower than 256 are used to report ascii values of pressed keys and higher values are used to represent some special keys like arrows) See the AA-lib texinfo documentation for more details.