コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <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);
 }