SYNOPSIS

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

RETURNS

1 on success and 0 on fail.

RELATED TO aa_initkbd…