.\" Generated by the Allegro makedoc utility .TH gui_mouse_x 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME gui_mouse_x, gui_mouse_y, gui_mouse_z, gui_mouse_b \- Hook functions used by the GUI routines to access the mouse state. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B extern int (*gui_mouse_x)(); .B extern int (*gui_mouse_y)(); .B extern int (*gui_mouse_z)(); .B extern int (*gui_mouse_b)(); .SH DESCRIPTION Hook functions, used by the GUI routines whenever they need to access the mouse state. By default these just return copies of the mouse_x, mouse_y, mouse_z, and mouse_b variables, but they could be used to offset or scale the mouse position, or read input from a different source entirely.