Ejemplo n.º 1
0
 /// <summary>
 /// check if a key is down
 /// </summary>
 /// <param name="key">the key to check</param>
 /// <returns>is the key down</returns>
 public static bool IsDown(VK key)
 {
     return((LowLevel.GetAsyncKeyState(key) & 0x8000) != 0);
 }