I didn’t have the time, but is a mouse emulator included in this version? Because if it isnt, this could be done by combinating these two methods, I will post an example on how to use them if someone needs further explanation…
[DllImport("user32.dll")]
static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, UIntPtr dwExtraInfo);
With:
public enum MouseEventFlags
{
LEFTDOWN = 0x00000002,
LEFTUP = 0x00000004,
MIDDLEDOWN = 0x00000020,
MIDDLEUP = 0x00000040,
MOVE = 0x00000001,
ABSOLUTE = 0x00008000,
RIGHTDOWN = 0x00000008,
RIGHTUP = 0x00000010
}
and
[DllImport("user32.dll")]
static extern bool SetCursorPos(int X, int Y);