<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:굴림;
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:굴림;
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:"맑은 고딕";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:굴림체;
        panose-1:2 11 6 9 0 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@굴림체";
        panose-1:2 11 6 9 0 1 1 1 1 1;}
@font-face
        {font-family:"\@굴림";
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:"\@맑은 고딕";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:굴림;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"맑은 고딕";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"맑은 고딕";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=KO link=blue vlink=purple><div class=WordSection1><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'>Dear </span><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'>Andreas Pokorny, thanks for your reply. </span><span lang=EN-US style='font-size:10.0pt;font-family:Wingdings'>J</span><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'><o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'><o:p> </o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'>As you mentioned, we also need to distinguish between a full keyboard and a device which has a set of few keys.<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'>Each key coming from the full keyboard will be sent to the focus surface(window).<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'>However, a key coming from the device which has a few keys sometimes needs to be sent to the other surface(window) other than the focused surface(window).<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'><o:p> </o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'>Dear Peter Hutterer, any ideas on this patch ? </span><span lang=EN-US style='font-size:10.0pt;font-family:Wingdings'>J</span><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'><o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'><o:p> </o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'>Thanks and regards,<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'>Sung-Jin Park</span><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕"'><o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"맑은 고딕";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Andreas Pokorny [mailto:andreas.pokorny@gmail.com] <br><b>Sent:</b> Wednesday, September 23, 2015 3:48 PM<br><b>To:</b> </span><span style='font-size:10.0pt'>박성진</span><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br><b>Cc:</b> wayland-devel@lists.freedesktop.org<br><b>Subject:</b> Re: [PATCH] libinput device capability modification regarding combo input devices<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US>Hi,<o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US>2015-09-23 4:29 GMT+02:00 </span>박성진<span lang=EN-US> <<a href="mailto:sj76.park@samsung.com" target="_blank">sj76.park@samsung.com</a>>:<o:p></o:p></span></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white'><span lang=EN-US style='font-family:굴림체;color:black'>Dear all,</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span lang=EN-US style='font-family:굴림체;color:black'>as you guys know, there are some combo input devices which support both keyboard functionality and pointer functionality.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span lang=EN-US style='font-family:굴림체;color:black'>We can also see some of input devices supports both keyboard functionality and touch functionality.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span lang=EN-US style='font-family:굴림체;color:black'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span lang=EN-US style='font-family:굴림체;color:black'>In theory, each input device functionality needs to be provided through each kernel device node.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span lang=EN-US style='font-family:굴림체;color:black'>By the way, there are many combo input devices whose input events is coming from one device node.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span lang=EN-US style='font-family:굴림체;color:black'>Now and in near future, many vendors can make many combo input devices.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span lang=EN-US style='font-family:굴림체;color:black'> </span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span lang=EN-US style='font-family:굴림체;color:black'>For these kinds of input devices, how about adding new enums for combo devices?</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%'><span lang=EN-US style='font-family:굴림체;color:black'>Otherewise, how about defining enums with masks ?</span><span lang=EN-US><o:p></o:p></span></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US><br><br>For that reason we do use masks inside mir to describe input devices. We do use a few additional masks to also indicate whether the device, i.e. it might be interesting to know whether the device is a full keyboard or just offers a few buttons.. So yes I aggree with that. Right now we do the evdev based device detection in parallel to what udevd and libinput do.. <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>regards<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>Andreas Pokorny<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></div></div></body></html>