C# Class TouchBridge.Forwarders.Mouse.Mouse

Singleton mouse controller.
Afficher le fichier Open project: HEInventions/TouchBridge

Méthodes publiques

Méthode Description
LeftDown ( int x, int y ) : void

Simluate a left mouse down in the current position.

LeftUp ( int x, int y ) : void

Simluate a left mouse up in the current position.

Move ( int x, int y ) : void

Simulate a mouse move.

Private Methods

Méthode Description
SetCursorPos ( int X, int Y ) : bool
mouse_event ( int dwFlags, int dx, int dy, int cButtons, int dwExtraInfo ) : void

Method Details

LeftDown() public static méthode

Simluate a left mouse down in the current position.
public static LeftDown ( int x, int y ) : void
x int
y int
Résultat void

LeftUp() public static méthode

Simluate a left mouse up in the current position.
public static LeftUp ( int x, int y ) : void
x int
y int
Résultat void

Move() public static méthode

Simulate a mouse move.
public static Move ( int x, int y ) : void
x int The x-position in pixels.
y int The y-position in pixels.
Résultat void