GNU Info

Info Node: (aalib.info)aa_autoinitkbd

(aalib.info)aa_autoinitkbd


Next: aa_autoinitmouse Prev: aa_attrs Up: Reference
Enter node , (file) or (file)node

aa_autoinitkbd
==============

     #include <aalib.h>


     int aa_autoinitkbd
     (
         struct aa_context *context,
         int mode
     );

Parameters
==========

    `struct aa_context *context'
          Specifies the AA-lib context to operate on.

    `int mode'
          Mask of extra features you request. Can contain
          AA_SENDRELEASE if you are interested in release events too.

Description
===========

Attempts to find available keyboard driver supporting the specified
mode.  First attempts to initialize the recommended drivers and then in
order drivers available in the aa_kbddrivers array (all regular output
drivers compiled into AA-lib).

   Every AA-lib program ought to have call to aa_parseoptions before
first call to aa_init.

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

1 when succesfull or 0 on failure.


automatically generated by info2www version 1.2.2.9