C# Class ModernSteward.KeyboardSimulator

Simulate keyboard key presses
Mostrar archivo Open project: ModernSteward/ModernSteward

Public Methods

Method Description
KeyDown ( Keys key ) : void
KeyPress ( Keys key ) : void
KeyUp ( Keys key ) : void
SimulateStandardShortcut ( StandardShortcut shortcut ) : void

Private Methods

Method Description
ParseKey ( Keys key ) : byte
keybd_event ( byte key, byte scan, int flags, int extraInfo ) : void

Method Details

KeyDown() public static method

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

KeyPress() public static method

public static KeyPress ( Keys key ) : void
key Keys
return void

KeyUp() public static method

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

SimulateStandardShortcut() public static method

public static SimulateStandardShortcut ( StandardShortcut shortcut ) : void
shortcut StandardShortcut
return void