C# Class Kinect.MouseControl.MouseSimulator

Operations that simulate mouse events
Exibir arquivo Open project: atosorigin/Kinect

Public Methods

Method Description
ChangeMouseCursor ( ) : void

Double click a mouse button (down then up twice)

Click ( System button ) : void

Click a mouse button (down then up)

DoubleClick ( System button ) : void

Double click a mouse button (down then up twice)

Hide ( ) : void

Hide mouse cursor only on current application's forms

MouseDown ( MouseButton button ) : void

Press a mouse button down

MouseDown ( System button ) : void

Press a mouse button down

MouseUp ( MouseButton button ) : void

Let a mouse button up

MouseUp ( System button ) : void

Let a mouse button up

MouseWheel ( int delta ) : void

Roll the mouse wheel. Delta of 120 wheels up once normally, -120 wheels down once normally

Show ( ) : void

Show a hidden current on currently application

Private Methods

Method Description
SetCursorPos ( int X, int Y ) : bool
ShowCursor ( bool show ) : int
mouse_event ( int flags, int dX, int dY, int buttons, int extraInfo ) : void

Method Details

ChangeMouseCursor() public static method

Double click a mouse button (down then up twice)
public static ChangeMouseCursor ( ) : void
return void

Click() public static method

Click a mouse button (down then up)
public static Click ( System button ) : void
button System
return void

DoubleClick() public static method

Double click a mouse button (down then up twice)
public static DoubleClick ( System button ) : void
button System
return void

Hide() public static method

Hide mouse cursor only on current application's forms
public static Hide ( ) : void
return void

MouseDown() public static method

Press a mouse button down
public static MouseDown ( MouseButton button ) : void
button MouseButton
return void

MouseDown() public static method

Press a mouse button down
public static MouseDown ( System button ) : void
button System
return void

MouseUp() public static method

Let a mouse button up
public static MouseUp ( MouseButton button ) : void
button MouseButton
return void

MouseUp() public static method

Let a mouse button up
public static MouseUp ( System button ) : void
button System
return void

MouseWheel() public static method

Roll the mouse wheel. Delta of 120 wheels up once normally, -120 wheels down once normally
public static MouseWheel ( int delta ) : void
delta int
return void

Show() public static method

Show a hidden current on currently application
public static Show ( ) : void
return void