aa_autoinitmouse (3) - Linux Man Pages

aa_autoinitmouse: easy to use AA-lib mouse initialization function.

NAME

aa_autoinitmouse - easy to use AA-lib mouse initialization function.

SYNOPSIS

#include <aalib.h>

int aa_autoinitmouse
(
       struct aa_context *c,

       int mode

);

PARAMETERS

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

DESCRIPTION

Attempts to find available mouse 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).

RETURNS

1 when succesfull or 0 on failure.