get_mouse_mickeys(3alleg4) linux man page | unix.com

Man Page: get_mouse_mickeys

Operating Environment: linux

Section: 3alleg4

get_mouse_mickeys(3alleg4)					  Allegro manual					get_mouse_mickeys(3alleg4)

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 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. SEE ALSO
install_mouse(3alleg4), exmouse(3alleg4) Allegro version 4.4.2 get_mouse_mickeys(3alleg4)
Related Man Pages
exmouse(3alleg4) - suse
enable_hardware_cursor(3alleg4) - suse
exmouse(3alleg4) - centos
exmouse(3alleg4) - linux
exmouse(3alleg4) - v7
Similar Topics in the Unix Linux Community
Featured Books and Articles by Active Forum Members
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
Forum Video Tutorial: How to Use Code Tags
Answers to Recently Asked Questions about UNIX.COM
YouTube: How to Use Code Tags and Format Posts @UNIX.com