private static extern int SendInput(int numberOfInputs, ref Input input, int structSize);
private static void SendInput(Input input) { SendInput(1, ref input, Marshal.SizeOf(typeof (Input))); }
private static void SendInput(Input input) { SendInput(1, ref input, Marshal.SizeOf(input)); // SendInput(1, new[] {input}, Marshal.SizeOf(input)); }