/// <summary> /// Fires the KeyUp event with the given parameters. /// </summary> /// <param name="keyboardInfo">Details about the key pressed, along with modifier key states.</param> public void KeyUp(KeyboardInfo keyboardInfo) { KeyUpEvent?.Invoke(this, keyboardInfo); }
/// <summary> /// Fires the KeyDown event with the given parameters. /// </summary> /// <param name="keyboardInfo">Details about the key pressed, along with modifier key states.</param> public void KeyDown(KeyboardInfo keyboardInfo) { KeyDownEvent?.Invoke(this, keyboardInfo); }