Mouse Functions

From Archaic Pixels
Revision as of 18:48, 10 September 2010 by Gravis (Talk | contribs) (Created page with "= Mouse Functions = == mouse_exists == {| |- | [color=#AA0000]char[/color] mouse_exists([color=#00AA00]void[/color]); || [ 1.5+ ] |- | Check whether a mouse is installed. Re...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Mouse Functions

mouse_exists

char mouse_exists(void); [ 1.5+ ]
   Check whether a mouse is installed. Return true if it was detected
   during initialization.

mouse_enable

void mouse_enable(void); [ 1.5+ ]
   Turn on mouse. Return true if a mouse actually exists.

mouse_disable

void mouse_disable(void); [ 1.5+ ]
  Turn off mouse support.

mouse_x

int mouse_x(void); [ 1.5+ ]
    Return the horizontal delta of the mouse since last vsync.

mouse_y

int mouse_y(void); [ 1.5+ ]
    Return the vertical delta for the mouse since last vsync.