GNU Info

Info Node: (aalib.info)aa_initkbd

(aalib.info)aa_initkbd


Next: aa_initmouse Prev: aa_imgwidth Up: Reference
Enter node , (file) or (file)node

aa_initkbd
==========

     #include <aalib.h>


     int aa_initkbd
     (
         struct aa_context *context,
         const struct aa_kbddriver *drv,
         int mode
     );

Parameters
==========

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

    `const struct aa_kbddriver *drv'
          Driver you wish to use.

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

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

This is the most primitive AA-lib keyboard initialization function.
Allows better control over the process than the easier to use
aa_autoinitkbd function.

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

1 on success and 0 on fail.


automatically generated by info2www version 1.2.2.9