Reputation: 348
I have an application that has two buttons, and I want to detect when both buttons are pressed at the same time.
I have installed another mouse on my Ubuntu 10.04 computer and enabled the second pointer following these steps: http://ao2.it/en/blog/2010/01/19/poor-mans-multi-touch-using-multiple-mice-xorg I've executed the example there (demo-paint) and I can perform simultaneous independent drawings with each mouse.
But on my Qt application, if I keep Button1 pressed with mouse1 and move mouse2 and press button2, button1 is immediately unpressed, so I can't keep both pressed at the same time.
Is there anyway to allow both buttons to keep pressed at the same time?
Upvotes: 2
Views: 1565
Reputation: 20028
I am unaware of Qt on the Android platform, but for our tablet and touchscreen applications we handle multi-touch events via Qt's QTouchEvent. I would assume something similar should be (or perhaps is already) available for the Qt's Android support.
Upvotes: 2