/// <summary> /// Emulate key release. /// </summary> /// <param name="key">VirtualKeyCode of key to emulate.</param> public static void SendKeyUp(Native.VirtualKeyCode key) => Native.API.SendKeyUp(key);
/// <summary> /// Get whether a key is down or not. /// </summary> /// <param name="key">Key to check state of.</param> /// <returns>Whether the key is down or not</returns> public static bool IsKeyDown(Native.VirtualKeyCode key) => Native.API.IsKeyDown(key);