set_mouse_range (3) Linux Manual Page
set_mouse_range – Sets the area of the screen restricting mouse movement. Allegro game programming library. Synopsis #include <allegro.h> void set_mouse_range(int x1, int y1, int x2, int y2); Description Sets the area of the screen within which the mouse can move. Pass the top left corner and the bottom right corner (inclusive). If you don’t call…
