Example #1
0
 public static void KeyUp(Keys key)
 {
     if (Input.IsKeyDown(key) == true)
     {
         Input.KeyUp(key);
     }
 }
Example #2
0
 public static void KeyDown(Keys key)
 {
     if (Input.IsKeyDown(key) == false)
     {
         Input.KeyDown(key);
     }
 }