<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Daniel,<br>
    <br>
    Xorg`s developer Peter replied my email :)<br>
    <br>
    Perhaps Mir could support Coordincate Transformation Matrix to
    handle several Multi-Touch devices in the same time.<br>
    <br>
    Best,<br>
    <br>
    Leslie<br>
    <div class="moz-forward-container"><br>
      <br>
      -------- 原始消息 --------
      <table class="moz-email-headers-table" cellpadding="0"
        cellspacing="0" border="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">主题: </th>
            <td>Re: Why multi-touch fail to work for multi-display?</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">日期: </th>
            <td>Tue, 22 Oct 2013 16:03:13 +0800</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">发件人: </th>
            <td>Leslie Zhai <a class="moz-txt-link-rfc2396E" href="mailto:xiangzhai83@gmail.com"><xiangzhai83@gmail.com></a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">收件人: </th>
            <td>Peter Hutterer <a class="moz-txt-link-rfc2396E" href="mailto:peter.hutterer@who-t.net"><peter.hutterer@who-t.net></a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">抄送: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Hi Peter,<br>
        <br>
        Thanks for your reply :)<br>
        <br>
        Coordinate Transformation Matrix is so cool, my LeslieMT is too
        superficial
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        <a moz-do-not-send="true"
href="https://github.com/xiangzhai/myblog/blob/master/MTX11-Note/MT.conf">https://github.com/xiangzhai/myblog/blob/master/MTX11-Note/MT.conf</a><br>
        Even if LeslieMT is able to work, but it is not easy to
        configure the device path, for example, /dev/input/event3 might
        be changed when a Projected Capacitive touch screen USB device
        plug out/in or Linux box reboot.<br>
        <br>
        But it needs to read the device file descriptor to get 9 eGalax
        touch screen devices` (X, Y) value simultaneously, then
        recognize the proper gesture, so ugly and dull LeslieMT meets
        the "special" project requirement.<br>
        <br>
        Best Regards,<br>
        <br>
        Leslie<br>
        <br>
      </div>
      <blockquote cite="mid:20131022061417.GA465@yabbi.bne.redhat.com"
        type="cite">
        <pre wrap="">On Sat, Oct 19, 2013 at 11:31:08AM +0800, Leslie Zhai wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi Xorg developers,

I use Projected Capacitive touch screen device
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://en.wikipedia.org/wiki/Touchscreen#Projected_capacitance">http://en.wikipedia.org/wiki/Touchscreen#Projected_capacitance</a>
It can be pasted on the normal monitor, then it is able to touch, the
cursor
will move to the position where touched. It experienced like iphone and
other
single touch screen device.

But when I put multiple Projected Capacitive touch screen devices on
several
monitors, then touch some of them simultaneously, the cursor of X Window
was
only moving in the first monitor, even though it was able to move to other
monitors` display, it still failed to show the correct position.
</pre>
        </blockquote>
        <pre wrap="">default behaviour is to map the device to the set of all monitors together.
if you want to map a device to a specific montior you need to set the input
transformation matrix.

<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Dual_and_Multi-Monitor_Set_Up">http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Dual_and_Multi-Monitor_Set_Up</a>

because output can change positions, size, orientation, etc. at any time
there is no static (i.e. xorg.conf) option to configure this, it needs to be
set at runtime.

one matrix exists per device, so you can configure multiple touchscreens
easily enough.

Cheers,
   Peter

</pre>
      </blockquote>
      <br>
      <br>
    </div>
    <br>
  </body>
</html>