C# Class Kinect.Win32.MouseKeySimulator

Mostrar archivo Open project: BrainProject/UnityTemp

Public Properties

Property Type Description
MouseCursorMove bool

Public Methods

Method 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

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

Method Details

CursorPos() public static method

public static CursorPos ( Vector2 vect ) : void
vect Vector2
return void

SendKeyDown() public static method

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

SendKeyPress() public static method

public static SendKeyPress ( KeyCode keyCode ) : void
keyCode KeyCode
return void

SendKeyUp() public static method

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

Property Details

MouseCursorMove public_oe static_oe property

public static bool MouseCursorMove
return bool