aa_getmouse(3)

aa_getmouse3

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

Usage

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

Overview

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

Releases

Unchanged in 13 releases since Debian 3.0 (Woody).

  1. 3.0–Arch

From aalib 1.4rc5-19 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.