1al_set_mouse_xy(3)         Library Functions Manual         al_set_mouse_xy(3)
2
3
4

NAME

6       al_set_mouse_xy
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_set_mouse_xy(ALLEGRO_DISPLAY *display, int x, int y)
12

DESCRIPTION

14       Try  to  position  the mouse at the given coordinates on the given dis‐
15       play.  The mouse movement resulting from a successful move will  gener‐
16       ate an ALLEGRO_EVENT_MOUSE_WARPED event.
17
18       Returns true on success, false on failure.
19

SEE ALSO

21       al_set_mouse_z(3), al_set_mouse_w(3)
22
23
24
25Allegro reference manual                                    al_set_mouse_xy(3)
Impressum