al_set_mouse_xy3alleg5
Allegro 5 api
Usage
-
#include <allegro5/allegro.h> bool al_set_mouse_xy(ALLEGRO_DISPLAY *display, int x, int y)
Overview
Try to position the mouse at the given coordinates on the given display. The mouse movement resulting from a successful move will generate an ALLEGRO_EVENT_MOUSE_WARPED(3alleg5) event.
Returns true on success, false on failure.
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.