mouse_callback man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

mouse_callback(3)		Allegro manual		     mouse_callback(3)

NAME
       mouse_callback  -  User specified mouse callback. Allegro game program‐
       ming library.

SYNOPSIS
       #include <allegro.h>

       extern void (*mouse_callback)(int flags);

DESCRIPTION
       Called by the interrupt handler whenever the mouse moves or one of  the
       buttons changes state. This function must be in locked memory, and must
       execute _very_ quickly! It is passed the event flags that triggered the
       call,  which is a bitmask containing any of the values MOUSE_FLAG_MOVE,
       MOUSE_FLAG_LEFT_DOWN,	MOUSE_FLAG_LEFT_UP,	MOUSE_FLAG_RIGHT_DOWN,
       MOUSE_FLAG_RIGHT_UP,  MOUSE_FLAG_MIDDLE_DOWN, MOUSE_FLAG_MIDDLE_UP, and
       MOUSE_FLAG_MOVE_Z. Note that even if the mouse has more than three but‐
       tons, only the first three can be trapped using a callback.

SEE ALSO
       install_mouse(3)

Allegro				 version 4.4.2		     mouse_callback(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net