Windows Multitouch in a Qt application.(2 pens writting simultaneously in the graphicsview)
-
Hi,
I need to allow two pens to write simultaneously in my Qt application (graphicsscene/graphicsview based).
My search have pointed out that the "multitouch":http://blogs.msdn.com/b/jennifer/archive/2010/12/13/multitouch-part-1-getting-started-with-multitouch-in-windows-7.aspx feature that is already in windows7 can allow me to do that.
I have been looking for a working minimal piece of code to start with but haven't found anything yet.I can deal with a winAPI based but it would be better to find an already "Qt"fied one.Any input would be appreciated.
-
something like "this":http://qt-project.org/doc/qt-4.8/touch-fingerpaint.html? ;)
-
Thanks raven-works for the input,
I just tested the example on our test environment and it looks like what I want.So all I need is to capture touch events and draw in appropriate locations and windows7 will take care of capturing all those different touch points right?
I am trying to put ideas together here,so ,sorry if I ask sth dumb :).
Thanks again by the way,really helpful. -
[quote author="musimbate" date="1385025357"]So all I need is to capture touch events and draw in appropriate locations and windows7 will take care of capturing all those different touch points right?[/quote]
yes..basically like with any other event coming from the operating system. -
Thanks,
I look into how I can get this to work.