mav_mouseGet(3)

NAME
mav_mouseGet - Sample the current mouse position.

LEVEL
Maverik Level 1

SYNTAX
void mav_mouseGet(MAV_window *w, int *x, int *y, int *rx, int *ry);

ARGUMENTS
Window. (x, y) position of mouse relative to window origin (pixels). (x, y) position of mouse relative to root window origin (pixels).

DESCRIPTION
This function returns the current mouse position in window w (x,y), and with respect to the root (background) window (rx,ry).