aa_initmouse(3) initialize the AA-lib mouse driver.

SYNOPSIS

#include <aalib.h>

int aa_initmouse
(
       struct aa_context *c,

       const struct aa_mousedriver *d,

       int mode

);

PARAMETERS

struct aa_context *c
Specifies the AA-lib context to operate on.
const struct aa_mousedriver *d
Driver you wish to use.
int mode
Mask of extra features you request. No such features are available in the current AA-lib version.

DESCRIPTION

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

RETURNS

1 on success and 0 on fail.