disable_hardware_cursor(3) Disables the OS hardware cursor. Allegro game programming library.


#include <allegro.h>

void disable_hardware_cursor(void);


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.