Go to the previous, next section.


Keyboard interface needs to be initialized after display driver since the existence of aa_context is required. The following function is available for initializing:

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

The situation is very similiar to the initialization of hardware display drivers. The meaning is almost the same. Mode variable can be set to zero for normal keyboard mode or to AA_SENDRELEASE that forces driver to inform you about keys releasing (currently, only a few drivers support this feature :().

You can recommend drivers:


Close context or use

void aa_uninitkbd(struct aa_context *context);

to uninitialize a keyboard driver.

Go to the previous, next section.