Class: Mouse

Method and Variable Index

Public:

Protected:

Method Descriptions

Mouse()

Installs the mouse handler.

int8 getXAxis(void)

Returns a value describing the motion along the X axis of the mouse since the last call to update().

The return value is from 0 to +/- 63, where positive values indicate movement to the right.

int8 getYAxis(void)

Like getXAxis(), but for up/down movement. Down is positive.

bool button1()

Returns true if mouse button 1 is depressed.

bool button2()

Returns true if mouse button 2 is depressed.

void update()

Resets the X and Y axis values to 0. These will then change as the mouse is moved.