GNU Info

Info Node: (aalib.info)aa_getkey

(aalib.info)aa_getkey


Next: aa_getmouse Prev: aa_getevent Up: Reference
Enter node , (file) or (file)node

aa_getkey
=========

     #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.

Return value
============

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.


automatically generated by info2www version 1.2.2.9