public void SendInputMouseWheel(int MouseDelta) { byte[] Sw = new byte[4]; byte[] Xp = new byte[4]; Sw = BitConverter.GetBytes(8); Xp = BitConverter.GetBytes(MouseDelta); InputClient.Send(Sw); InputClient.Send(Xp); }
public void SendInputUp(int KeyValue) { byte[] Sw = new byte[4]; byte[] Xp = new byte[4]; Sw = BitConverter.GetBytes(1); Xp = BitConverter.GetBytes(KeyValue); InputClient.Send(Sw); InputClient.Send(Xp); //InputClient.Send(Yp); }
public void SendInputMouseUp(int X, int Y) { byte[] Sw = new byte[4]; byte[] Xp = new byte[4]; byte[] Yp = new byte[4]; Sw = BitConverter.GetBytes(3); Xp = BitConverter.GetBytes(X); Yp = BitConverter.GetBytes(Y); InputClient.Send(Sw); InputClient.Send(Xp); InputClient.Send(Yp); }