DOKK / manpages / debian 10 / allegro4-doc / disable_hardware_cursor.3alleg4.en
disable_hardware_cursor(3alleg4) Allegro manual disable_hardware_cursor(3alleg4)

disable_hardware_cursor - 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.

install_mouse(3alleg4), show_mouse(3alleg4), set_mouse_sprite(3alleg4), get_mouse_mickeys(3alleg4), gfx_capabilities(3alleg4), enable_hardware_cursor(3alleg4)

version 4.4.2 Allegro