man disable_hardware_cursor () - Disables the OS hardware cursor. Allegro game programming library.
NAME
disable_hardware_cursor - Disables the OS hardware cursor. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void disable_hardware_cursor(void);
DESCRIPTION
After calling this function, Allegro will be responsible for drawing the mouse cursor rather than the operating system. On some platforms calling enable_hardware_cursor() makes the return values of get_mouse_mickeys() unreliable. After calling this function, get_mouse_mickeys() returns reliable results again.