C# Class TouchBridge.Forwarders.Mouse.Mouse

Singleton mouse controller.
Datei anzeigen Open project: HEInventions/TouchBridge

Public Methods

Method 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

Method 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 method

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

LeftUp() public static method

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

Move() public static method

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.
return void