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