# mouse.h File Reference

Go to the source code of this file.

## Data Structures
struct | MOUSE
## Typedefs
typedef void *(* | MOUSE_CALLBACK )(MOUSE *, void *)
## Enumerations
enum | MOUSEEVENTS { MOUSE_L = 0x1, MOUSE_L_NEW = 0x2, MOUSE_R = 0x4, MOUSE_R_NEW = 0x8, MOUSE_M = 0x10, MOUSE_M_NEW = 0x20 }
## Functions
void | mousedown (ALLEGRO_MOUSE_EVENT *mouse_data)
void | mouseup (ALLEGRO_MOUSE_EVENT *mouse_data)
void | mouseaxes (ALLEGRO_MOUSE_EVENT *mouse_data)
void | mouseupdate (void)
void * | mousecheck (MOUSE_CALLBACK func, void *data)

## Detailed Description

Handles mouse input

Note:
  Does not trigger mouse events; events are handled by the mousehandler function in the handler.c routines. The mousehandler function is called by this modules mousecheck function via a function pointer.

Definition in file mouse.h.