Man Page: mouse_callback
Operating Environment: debian
Section: 3alleg4
mouse_callback(3alleg4) Allegro manual mouse_callback(3alleg4)NAMEmouse_callback - User specified mouse callback. Allegro game programming library.SYNOPSIS#include <allegro.h> extern void (*mouse_callback)(int flags);DESCRIPTIONCalled 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 buttons, only the first three can be trapped using a callback.SEE ALSOinstall_mouse(3alleg4) Allegro version 4.4.2 mouse_callback(3alleg4)
| Related Man Pages |
|---|
| install_mouse(3alleg4) - debian |
| install_mouse(3alleg4) - centos |
| install_mouse(3alleg4) - netbsd |
| install_mouse(3alleg4) - plan9 |
| install_mouse(3alleg4) - linux |
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| awk or sed - Convert 2 lines to 1 line |
| One instance of comparing grep and awk |
| My first PERL incarnation... Audio Oscillograph |