C# Class WoW.Fishing.Devices.Keyboard

Show file Open project: trenus/Bots.WoW.Fishing

Public Methods

Method Description
Click ( UInt16 keyCode, int clickDuration ) : void

simulate the keydown + keyup events using the UTF8Encoding.ASCII.GetBytes(key) value.

Private Methods

Method Description
KeyDown ( UInt16 keyCode ) : void

simulate the keydown event using the UTF8Encoding.ASCII.GetBytes(key) value

KeyUp ( UInt16 keyCode ) : void

simulate the keyup event using the UTF8Encoding.ASCII.GetBytes(key) value

Method Details

Click() public static method

simulate the keydown + keyup events using the UTF8Encoding.ASCII.GetBytes(key) value.
public static Click ( UInt16 keyCode, int clickDuration ) : void
keyCode System.UInt16
clickDuration int
return void