Sorry but ....

The mouse_event function synthesizes mouse motion and button clicks.
Note This function has been superseded. Use SendInput instead.