Beispiel #1
0
 public static bool IsKeyReleased(Keys key) => LastKeyboard.IsKeyDown(key) && CurrentKeyboard.IsKeyUp(key);
Beispiel #2
0
 bool Released(Keys key)
 {
     return(CurrentKeyboard.IsKeyUp(key) && LastKeyboard.IsKeyDown(key));
 }