C# Class Kinect.Win32.MouseKeySimulator

Afficher le fichier Open project: BrainProject/UnityTemp

Méthodes publiques

Свойство Type Description
MouseCursorMove bool

Méthodes publiques

Méthode Description
CursorPos ( Vector2 vect ) : void
SendKeyDown ( KeyCode keyCode ) : void

Send a key down and hold it down until sendkeyup method is called

SendKeyPress ( KeyCode keyCode ) : void
SendKeyUp ( KeyCode keyCode ) : void

Release a key that is being hold down

Private Methods

Méthode Description
ConvertToScreen ( Vector2 vect ) : Vector2
SendInput ( uint numberOfInputs, INPUT inputs, int sizeOfInputStructure ) : uint
SetCursorPos ( int x, int y ) : int

Method Details

CursorPos() public static méthode

public static CursorPos ( Vector2 vect ) : void
vect Vector2
Résultat void

SendKeyDown() public static méthode

Send a key down and hold it down until sendkeyup method is called
public static SendKeyDown ( KeyCode keyCode ) : void
keyCode KeyCode
Résultat void

SendKeyPress() public static méthode

public static SendKeyPress ( KeyCode keyCode ) : void
keyCode KeyCode
Résultat void

SendKeyUp() public static méthode

Release a key that is being hold down
public static SendKeyUp ( KeyCode keyCode ) : void
keyCode KeyCode
Résultat void

Property Details

MouseCursorMove public_oe static_oe property

public static bool MouseCursorMove
Résultat bool