Esempio n. 1
0
 public static bool KeyUp(Keys key)
 {
     return(NewKeyboardState.IsKeyUp(key));
 }
Esempio n. 2
0
 public static bool WasKeyKlicked(Keys key)
 {
     return(NewKeyboardState.IsKeyUp(key) && OldKeyboardState.IsKeyDown(key));
 }