public static void KeyPress(DirectKeycode key, uint duration)
 {
     KeyDown(key);
     Thread.Sleep((int)duration);
     KeyUp(key);
 }
 public static void KeyUp(DirectKeycode key) => RawKeyUp((ushort)key);