<HTML><HEAD><TITLE>Samsung Enterprise Portal mySingle</TITLE>
<META content=IE=5 http-equiv=X-UA-Compatible>
<META content="text/html; charset=euc-kr" http-equiv=Content-Type>
<STYLE id=mysingle_style type=text/css>P {
MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt; FONT-FAMILY: ±¼¸²Ã¼, arial; MARGIN-TOP: 5px
}
TD {
MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt; FONT-FAMILY: ±¼¸²Ã¼, arial; MARGIN-TOP: 5px
}
LI {
MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt; FONT-FAMILY: ±¼¸²Ã¼, arial; MARGIN-TOP: 5px
}
BODY {
FONT-SIZE: 9pt; FONT-FAMILY: ±¼¸²Ã¼, arial; MARGIN: 10px; LINE-HEIGHT: 1.4
}
</STYLE>
<META name=GENERATOR content=ActiveSquare></HEAD>
<BODY>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">Hello, Dears.</P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in"> </P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">I'm planning to add a touch cancel event(like ACTION_CANCEL in Android) in X11 protocol.</P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in"> </P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">So I invested XI events and I found a variable named "flags" in DeviceEvent structure.</P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">The "flags" variable can get values like below.</P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in"> </P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">(defined in XI2.h)</P>
<TABLE style="WIDTH: 726px; BACKGROUND-COLOR: #ffffff" cellSpacing=0 cellPadding=0 width=726 border=1>
<TBODY>
<TR>
<TD height=20 width=710>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">/* Device event flags (common) */</P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">/* Device event flags (key events only) */</P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">#define XIKeyRepeat<SPAN style="mso-spacerun: yes"> </SPAN>(1 << 16)</P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">/* Device event flags (pointer events only) */</P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">#define XIPointerEmulated<SPAN style="mso-spacerun: yes"> </SPAN>(1 << 16)</P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">/* Device event flags (touch events only) */</P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">#define XITouchPendingEnd<SPAN style="mso-spacerun: yes"> </SPAN>(1 << 16)</P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">#define XITouchEmulatingPointer<SPAN style="mso-spacerun: yes"> </SPAN>(1 << 17)</P></TD></TR></TBODY></TABLE>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in"> </P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">So I think how about insert "Device event flags" for a touch cancel event like below.</P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">#define XITouchCancel<SPAN style="mso-spacerun: yes"> </SPAN>(1 << 18)</P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">or</P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">#define XIPointerCancel (1 << 18)</P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">we can distinguish Normal touch events and a touch cancel event using XITouchCancel definition.</P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in"> </P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">Another way is make new events: struct TouchCancelEvent( have a type "XI_TouchCancel")</P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in"> </P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">Each method has its advantages and disadvantages.</P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in"> </P>
<P style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in"><SPAN lang=ko>So I </SPAN><SPAN lang=en-US>hope</SPAN><SPAN lang=ko> to hear opinion</SPAN><SPAN lang=en-US>s</SPAN><SPAN lang=ko>.</SPAN></P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">Would you give me some advice or opinion?</P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in"> </P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">I will wait your reply.</P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">Best regards,</P>
<P lang=en-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Malgun Gothic'; MARGIN: 0in">Jeonghyun Kang.</P><!--SP:jhyuni.kang--><SPAN style="FONT-SIZE: 9pt"><SPAN style="FONT-SIZE: 9pt"><FONT color=#0000ff face=µ¸¿ò>
<DIV class=MsoNormal><SPAN style="FONT-FAMILY: ¸¼Àº °íµñ">
<HR style="WIDTH: 375pt" align=left SIZE=2 width=500>
</SPAN></DIV>
<P>
<TABLE style="WIDTH: 502px" cellSpacing=0 cellPadding=0 width=502 border=0>
<TBODY>
<TR>
<TD height=20 width=264>
<DIV align=center>
<DIV align=center><SPAN style="FONT-FAMILY: ¸¼Àº °íµñ"><EMBED style="HEIGHT: 94px; WIDTH: 235px" type=application/x-shockwave-flash height=94 width=235 src=http://www.supermandoo.com/samsung/logo1.swf menu="false" quality="high"> </SPAN></DIV></DIV></TD>
<TD height=20 width=238><FONT style="FONT-FAMILY: Segoe Print" color=#0000ff size=5 face="Segoe Print"><SPAN style="FONT-SIZE: 14pt">
<P align=left><FONT face=µ¸¿ò><B><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: ¸¼Àº °íµñ; COLOR: #000000; BACKGROUND-COLOR: #ffffff">° Á¤ Çö JeongHyun Kang</SPAN></B></FONT></P></SPAN></FONT>
<P><FONT style="FONT-FAMILY: ¸¼Àº °íµñ" color=#666666 face="Segoe Print"></FONT></P>
<P><FONT style="FONT-FAMILY: ¸¼Àº °íµñ" color=#666666 face="Segoe Print">System S/W Lab</FONT></P>
<P><FONT style="FONT-FAMILY: ¸¼Àº °íµñ" color=#666666 face="Segoe Print">Software Center</FONT></P>
<P><FONT color=#ffad5b face="Segoe Print"><STRONG><SPAN style="FONT-FAMILY: ¸¼Àº °íµñ; COLOR: #666666">SAMSUNG ELECTRONICS CO.,LTD.</SPAN></STRONG></FONT></P>
<P><FONT style="FONT-FAMILY: ¸¼Àº °íµñ" color=#666666 face="Segoe Print"></FONT></P>
<P><FONT style="FONT-FAMILY: ¸¼Àº °íµñ" color=#666666 face="Segoe Print">Mobile : +82-10-2050-7469</FONT></P>
<P><FONT color=#ffad5b face="Segoe Print"><SPAN style="FONT-FAMILY: ¸¼Àº °íµñ; COLOR: #666666">E-Mail :<SPAN style="FONT-FAMILY: ¸¼Àº °íµñ; COLOR: #000000"> </SPAN></FONT><FONT color=#ffad5b face="Segoe Print"><A href="mailto:jhyuni.kang@samsung.com" target=_blank><SPAN style="FONT-FAMILY: ¸¼Àº °íµñ; COLOR: #0080ff">jhyuni.kang@samsung.com</SPAN><SPAN style="FONT-FAMILY: Khmer UI; COLOR: #000000"></A></SPAN></FONT></P></SPAN></TD></TR></TBODY></TABLE></P><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arial','sans-serif'">
<DIV class=MsoNormal><SPAN style="FONT-FAMILY: ¸¼Àº °íµñ">
<HR style="WIDTH: 375pt" align=left SIZE=2 width=500>
</SPAN></DIV></SPAN></FONT></SPAN></SPAN><!--jhyuni.kang:EP-->
<P> </P>
<TABLE id=confidentialsignimg>
<TBODY>
<TR>
<TD NAMO_LOCK>
<P><IMG border=0 src="cid:BGFC2LL5XOK0@namo.co.kr"></P></TD></TR></TBODY></TABLE></BODY></HTML><img src='http://ext.samsung.net/mailcheck/SeenTimeChecker?do=d083a0c0528fae5253ca88b9de6b572c008e6afd15aa8e1f056cff63e7603da96ad67b5fb97d5b8692fee5c9a9e95c036cdcf26623f521cda728c55b39cc59eacf878f9a26ce15a0' border=0 width=0 height=0 style='display:none'>