If I wanted to control the mouse cursor, including clicking etc, what API would I need to use for this? For example, i’m developing an application for the PC using the Kinect, and I wish to control the mouse cursor with this, as opposed to creating my own in-app cursor. What would I need to ‘tap into’ to achieve this?
Thanks.
See answer from Marcos Placona in: How to simulate Mouse Click in C#?
Now you only need to add the mouse move events. More info here: http://pinvoke.net/default.aspx/user32.mouse_event