Hello. I'm implementing multitouch application using MPX and gtk-mpx.
First of all, plz don't make me shy for my poor English! :)
For testing MPX, 'xi2' sample application which was copied from Peter Hurterer's blog was used.
During the testing, I realized that two button press/release events was made per one button press/release.
The type of button press/release was 70/71 (DeviceButtonPress/DeviceButtonRelease).
And I realized that the second button press event was made from DeviceValuator (= 67 in decimal).
Is this a normal situation?
In the specification document in xfree86.org (Xinput Extension event protocol document), 'DeviceValuator' event will be followed by DeviceKeyPress/Release, DeviceMotionNotify, DeviceButtonPress/Release and so on.
But in my project, buttonpress/release(70, 71 in decimal) event should be once.
I modified libXi not to translate XI_DeviceValuator event to DeviceButton Press or DeviceButtonRelease.
It was successful, but I know it wasn't a good way.
Please let me know, which part of x window system do I have to modify for an xi2 application to receive a button press/release event per on click!
Why buttonpress/release event was made twice in a xi2 sample application ?
_______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
