SYNOPSIS

#include <aalib.h>

void aa_getmouse

(

aa_context *c,

int *x,

int *y,

int *b

);

PARAMETERS

aa_context *c

Specifies the AA-lib context to operate on.

int *x

Used to return X coordinate of mouse in characters.

int *y

Used to return Y coordinate of mouse in characters.

int *b

Used to return button mask of mouse. (Values used are AA_BUTTON1, AA_BUTTON2 and AA_BUTTON3).

DESCRIPTION

Get mouse position as specified by last mouse event read by aa_getevent.

RELATED TO aa_getmouse…