Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

get_mouse_mickeys(3alleg4) [plan9 man page]

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)

Check Out this Related Man Page

enable_hardware_cursor(3alleg4)                                   Allegro manual                                   enable_hardware_cursor(3alleg4)

NAME
enable_hardware_cursor - Enables the OS hardware cursor. Allegro game programming library. SYNOPSIS
#include <allegro.h> void enable_hardware_cursor(void); DESCRIPTION
After calling this function, Allegro will let the operating system draw the mouse cursor instead of doing it itself. This is not possible with all graphics drivers though: you'll need to check the gfx_capabilities flags after calling show_mouse() to see if this works. On some platforms, enabling the hardware cursor causes get_mouse_mickeys() to return only a limited range of values, so you should not call this function if you need mouse mickeys. SEE ALSO
install_mouse(3alleg4), show_mouse(3alleg4), set_mouse_sprite(3alleg4), get_mouse_mickeys(3alleg4), gfx_capabilities(3alleg4), dis- able_hardware_cursor(3alleg4), show_os_cursor(3alleg4), exsyscur(3alleg4) Allegro version 4.4.2 enable_hardware_cursor(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. UNIX for Advanced & Expert Users

What's your most useful shell?

What's your most useful shell? /bin/sh /bin/csh /bin/ksh /bin/tcsh /bin/bash (249 Replies)
Discussion started by: zylwyz
249 Replies