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