C# Class Kinect.MouseControl.MouseSimulator

Operations that simulate mouse events
Afficher le fichier Open project: atosorigin/Kinect

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

Click() public static méthode

Click a mouse button (down then up)
public static Click ( System button ) : void
button System
Résultat void

DoubleClick() public static méthode

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

Hide() public static méthode

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

MouseDown() public static méthode

Press a mouse button down
public static MouseDown ( MouseButton button ) : void
button MouseButton
Résultat void

MouseDown() public static méthode

Press a mouse button down
public static MouseDown ( System button ) : void
button System
Résultat void

MouseUp() public static méthode

Let a mouse button up
public static MouseUp ( MouseButton button ) : void
button MouseButton
Résultat void

MouseUp() public static méthode

Let a mouse button up
public static MouseUp ( System button ) : void
button System
Résultat void

MouseWheel() public static méthode

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

Show() public static méthode

Show a hidden current on currently application
public static Show ( ) : void
Résultat void