I have a Kinect application that I can generate 1-4 distinct screen points (Left/Right hands for up to 2 people) and I would like to be able to send each Point to the application with focus as a multi touch message.
I’m currently using SendInput to send mouse move, mouse down, and mouse up messages, but AFAIK, it doesn’t support the WM_TOUCH messages.
Does anyone know of an easy way to send multi touch messages in C#? As a test I would like to be able to use the Kinect in MS Paint, and paint with both hands (as well as all the colors of the wind)
What you want is to send messages to the window in question. The message you need to compose is the
WM_TOUCHmessage. You can find a very helpful discussion thread onWM_TOUCHhere.Hope this helps!