public static void LokiPoe.Input.SimulateKeyEvent(Keys key, bool down = true, bool @char = false, bool up = false, Keys extraKey = null)
Press a key using System.Window.Form.Keys as parameter, this is used to send Keystroke for special keys like `Enter`, `Esc` etc. The most common usage for this method is `SimulateKeyEvent(Keys.Escape, true, false, false); that simulate a single keystroke.`
keyKeys- The key to be pressed
downbool- Should the message indicate a key down event.
charbool- Are we passing a char to the event.
upbool- Should the message indicate a key up event.
extraKeyKeys- Specifies extra key. Optional; the default is shown in the signature.