Example #1
0
        private void MoveCursor(IPEndPoint sender, byte[] parameters)
        {
            int x = BitConverter.ToInt32(parameters, 1);
            int y = BitConverter.ToInt32(parameters, 5);

            VirtualMouse.Move(x, y);
        }
Example #2
0
        private void Scroll(IPEndPoint sender, byte[] parameters)
        {
            int z = BitConverter.ToInt32(parameters, 1);

            VirtualMouse.Scroll(z);
        }
Example #3
0
 private void RightMouseButtonUp(IPEndPoint sender, byte[] parameters)
 {
     VirtualMouse.RightButtonUp();
 }
Example #4
0
 private void LeftMouseButtonDown(IPEndPoint sender, byte[] parameters)
 {
     VirtualMouse.LeftButtonDown();
 }