public static void KeyDown(Keys key) { if (Input.IsKeyDown(key) == false) { Input.KeyDown(key); } }
public static void KeyUp(Keys key) { if (Input.IsKeyDown(key) == true) { Input.KeyUp(key); } }
static public void RightMouseButtonUp() { if (Input.GetKeyState(Keys.RButton) == true) { Input.RightUp(); } }
static public void RightMouseButtonDown() { if (Input.GetKeyState(Keys.RButton) == false) { Input.RightDown(); } }
static public void LeftMouseButtonUp() { if (Input.GetKeyState(Keys.LButton) == true) { Input.LeftUp(); } }
static public void LeftMouseButtonDown() { if (Input.GetKeyState(Keys.LButton) == false) { Input.LeftDown(); } }
public static void KeyPress(Keys key) { Input.KeyDown(key); Thread.Sleep(1); Input.KeyUp(key); }