logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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

       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.

Name

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

See Also

install_mouse(3alleg4), exmouse(3alleg4)

Allegro                                           version 4.4.3                       get_mouse_mickeys(3alleg4)

Synopsis

#include<allegro.h>voidget_mouse_mickeys(int*mickeyx,int*mickeyy);

See Also