<HEAD><STYLE> P { margin-top: 0px; margin-bottom: 6px; font-family: gulim,dotum,seoul,arial,verdana; font-size: 12px; } BODY { font-family: gulim,dotum,seoul,arial,verdana; font-size: 12px; } </STYLE></HEAD><P>Hello. I'm implementing multitouch application using MPX and gtk-mpx.</P>
<P>First of all, plz don't make me shy for my poor English! :)</P>
<P>&nbsp;</P>
<P>For testing MPX, 'xi2' sample application which was copied from Peter Hurterer's blog was used.</P>
<P>&nbsp;</P>
<P>During the testing, I realized that two button press/release events was made per one button press/release.</P>
<P>&nbsp;</P>
<P>The type of button press/release was 70/71 (DeviceButtonPress/DeviceButtonRelease).</P>
<P>And I realized that the second button press event was made from DeviceValuator (= 67 in decimal).</P>
<P>&nbsp;</P>
<P>Is this a normal situation?</P>
<P>&nbsp;</P>
<P>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.</P>
<P>&nbsp;</P>
<P>But in my project, buttonpress/release(70, 71 in decimal)&nbsp;event should be once.</P>
<P>I modified libXi not to translate XI_DeviceValuator event to DeviceButton Press or DeviceButtonRelease.</P>
<P>It was successful, but I know it wasn't a good way.</P>
<P>&nbsp;</P>
<P>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!</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>Why buttonpress/release event was made twice in a xi2 sample application ?</P>
<BR>

<BR>
<BR>

<BR>
<a HREF="http://www.dreamwiz.com/" TARGET=_blank><img src=http://i.dreamwiz.com/img/wd/ma/m_dw_logo.gif WIDTH=223 HEIGHT=23 BORDER=0 style=margin-bottom:-5;></a> <span style="font-size: 9pt; font-family:gulim,Arial; color: #494949; text-decoration: none;">http://www.dreamwiz.com/</span><br>

<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=1 height=3 border="0"><br><a href="http://www.dpump.net/BIN/ssr.cgi?siteid=34105015265541322cccd9ea972f582f6ea90e6de7fb34e&url=/" target="_blank"><img src="http://i.dreamwiz.com/img/pump/pump_mail_bottomb01.gif" width="270" height="27" align="absmiddle" border="0"></a>
&nbsp;&nbsp;
<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=5 height=1 border="0"><a href="http://banner.auction.co.kr/bn_redirect.asp?ID=BN00008749&lpurl=http://corners.auction.co.kr/corner/categorybest.aspx" target="_blank"><img src="http://i.dreamwiz.com/ad/shop/wt/_20081002114841_auction_27027.gif" width=270 height=27 align="absmiddle" border="0"></a>


<IMG SRC="http://mailchk.dreamwiz.com/cgi-bin/receive_check.cgi?sender=graphia@dreamwiz.com&msgid=%3C20090518142202.0001081502DC0260@mail27.dreamwiz.com%3E&receiver=xorg-devel@lists.x.org&key=0a49dab389c84b145361ac46ff7b7f49&wiz=/n.gif" WIDTH="1" HEIGHT="1" BORDER="0">