Difference between revisions of "Mouse Control"

From SolarStrike wiki
Jump to: navigation, search
(New page: == mousetSet(x,y) == Sets the mouse's screen position to (x,y), where x and y are integers. Coordinates are absolute. See mouseMove() to specify relative coordinates. == mouseMove(x,y)...)
 
Line 2: Line 2:
  
 
Sets the mouse's screen position to (x,y), where x and y are integers. Coordinates are absolute. See mouseMove() to specify relative coordinates.
 
Sets the mouse's screen position to (x,y), where x and y are integers. Coordinates are absolute. See mouseMove() to specify relative coordinates.
 
  
  
Line 8: Line 7:
  
 
Moves the mouse (x,y) pixels, where x and y are integers. Coordinates are relative. See mouseSet to specify absolute coordinates.
 
Moves the mouse (x,y) pixels, where x and y are integers. Coordinates are relative. See mouseSet to specify absolute coordinates.
 +
 +
 +
== mouseLClick() ==
 +
 +
Clicks the left mouse button.
 +
 +
 +
== mouseMClick() ==
 +
 +
Clicks the middle (or wheel) mouse button.
 +
 +
 +
== mouseRClick() ==
 +
 +
Clicks the right mouse button.
 +
 +
 +
== mouseLHold() ==
 +
 +
Holds down the left mouse button until a left click or left release. Use mouseLRelease() to release.
 +
 +
 +
== mouseMHold() ==
 +
 +
Holds down the middle/wheel mouse button until a middle/wheel click or middle/wheel button release. Use mouseMRelease() to release.
 +
 +
 +
== mouseRHold() ==
 +
 +
Holds down the right mouse button until a right click or right release. Use mouseRRelease() to release.

Revision as of 10:14, 13 July 2008

mousetSet(x,y)

Sets the mouse's screen position to (x,y), where x and y are integers. Coordinates are absolute. See mouseMove() to specify relative coordinates.


mouseMove(x,y)

Moves the mouse (x,y) pixels, where x and y are integers. Coordinates are relative. See mouseSet to specify absolute coordinates.


mouseLClick()

Clicks the left mouse button.


mouseMClick()

Clicks the middle (or wheel) mouse button.


mouseRClick()

Clicks the right mouse button.


mouseLHold()

Holds down the left mouse button until a left click or left release. Use mouseLRelease() to release.


mouseMHold()

Holds down the middle/wheel mouse button until a middle/wheel click or middle/wheel button release. Use mouseMRelease() to release.


mouseRHold()

Holds down the right mouse button until a right click or right release. Use mouseRRelease() to release.