Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
get_mouse_mickeys(3)		 Allegro manual 	    get_mouse_mickeys(3)

NAME
     get_mouse_mickeys - How far the mouse has moved since the last call to this
     function. Allegro game programming library.

SYNOPSIS
     #include <allegro.h>

     void get_mouse_mickeys(int *mickeyx, int *mickeyy);

DESCRIPTION
     Measures  how far the mouse has moved since the last call to this function.
     The values of mickeyx and mickeyy will become  negative  if  the  mouse  is
     moved  left  or up, respectively. The mouse will continue to generate move-
     ment mickeys even when it reaches the edge of the screen, so this	form  of
     input can be useful for games that require an infinite range of mouse move-
     ment.

     Note  that the infinite movement may not work in windowed mode, since under
     some platforms the mouse would leave the window, and may not work at all if
     the hardware cursor is in use.

SEE ALSO
     install_mouse(3), exmouse(3)

Allegro 			  version 4.4.3 	    get_mouse_mickeys(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=get_mouse_mickeys&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help