Hi, Well, the short answer is that qtuiotouch assumes that the touch screen is the primary (only) screen. There are two questions that need answers before I could support your configuration:
1. How to associate the TUIO device with the correct QScreen? (maybe QScreen::name and the TUIO device name) 2. How is QWindowSystemInterface::handleTouchEvent supposed to handle multiple screens? ~Dan > -----Original Message----- > From: [email protected] > [mailto:interest-bounces+daniel.casimiro=navy.mil@qt- > project.org] On Behalf Of Andrea Franceschini > Sent: Wednesday, September 25, 2013 12:06 PM > To: [email protected] > Subject: [Interest] QTouchEvents correctly placed only when the windows is on > the primary screen? > > Hi there. > > I'm using qtuiotouch but this might be a more general issue I'm not aware of. > Basically my set-up is like this: > > - primary screen: regular desktop screen; > - secondary screen: huge touch screen sending out TUIO messages. > > I set up a small QGraphicsView/Scene example to figure out a few things and > then I noticed that I wasn't getting touch events if the > GV windows wasn't on the primary screen (no matter which one). So I couldn't > move the window on the secondary touch screen, go > to full screen, and do the touch-thing, but if I kept the window on the > primary screen (desktop) it would work "as expected", meaning > that the TUIO messages got perfectly mapped to the GV/Scene. > > Now, a temporary solution would be to make the touch screen my primary > screen, which is doable but highly annoying, especially > since I'm working on a Mac, I might need the menu bar some times, and the > touch screen lies horizontal on a table (not exactly visible > from a sitting position). > > Ideas? > > -- > Andrea Franceschini > _______________________________________________ > Interest mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
