Example #1
0
 /// <summary>
 /// Tritt ein, wenn eine Taste losgelassen wird.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="args"></param>
 private void KeyUp(object sender, KeyEventArgs args)
 {
     KeyBoardInput.RemovePressedKey(args.KeyCode);
 }
Example #2
0
 /// <summary>
 /// Tritt ein, wenn eine Taste gedrückt wird.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="args"></param>
 private void KeyDown(object sender, KeyEventArgs args)
 {
     KeyBoardInput.AddPressedKey(args.KeyCode);
 }