C# Class GR.Input.Keyboard

Mostra file Open project: alexhanh/Botting-Library

Public Methods

Method Description
IsDown ( KeyboardKey key ) : bool
KeyDown ( KeyboardKey key ) : void
KeyUp ( KeyboardKey key ) : void
PressKey ( KeyboardKey key ) : void
PressNumberKey ( int number ) : void
Write ( string text ) : void

Private Methods

Method Description
SetKey ( KeyboardKey key, bool down ) : void

Method Details

IsDown() public static method

public static IsDown ( KeyboardKey key ) : bool
key KeyboardKey
return bool

KeyDown() public static method

public static KeyDown ( KeyboardKey key ) : void
key KeyboardKey
return void

KeyUp() public static method

public static KeyUp ( KeyboardKey key ) : void
key KeyboardKey
return void

PressKey() public static method

public static PressKey ( KeyboardKey key ) : void
key KeyboardKey
return void

PressNumberKey() public static method

public static PressNumberKey ( int number ) : void
number int
return void

Write() public static method

public static Write ( string text ) : void
text string
return void