[PyQt] PyQt multitouch

Phil Thompson phil at riverbankcomputing.com
Wed Aug 17 19:27:29 BST 2011


On Wed, 17 Aug 2011 12:20:41 -0500, "Maxwell, Thomas P.
(GSFC-606.2)[SCIENCE APPLICATIONS INTL CORP]" <thomas.maxwell at nasa.gov>
wrote:
> I am interfacing a PyQt4 app with a multitouch overaly under MacOSX
10.6. 
> The overlay will send mouse events to the OS, but I’m not seeing any
Touch
> Events coming from the OS.  So  I set up a TUIO interface using touchpy,
> which is receiving touch events from the overlay, and I’m now attempting
to
> post TouchEvents to the QApplication.    However, the TouchPoint
> constructor does not seem to be available in python, so I don’t see how
one
> can construct a TouchEvent.   Any suggestions as to what to do next?

The TouchPoint ctors are internal and not part of the public API, hence
they are not wrapped. Why they are internal I don't know.

Phil


More information about the PyQt mailing list