<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how do rotate hid-multitouch in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1149211#M161268</link>
    <description>&lt;P&gt;Hi&amp;nbsp;MicMoba&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for better understanding of these properties one can look at&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"DT helper functions for touchscreen devices "&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/input/touchscreen/of_touchscreen.c?h=imx_5.4.24_2.1.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/input/touchscreen/of_touchscreen.c?h=imx_5.4.24_2.1.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Sat, 05 Sep 2020 00:32:22 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-09-05T00:32:22Z</dc:date>
    <item>
      <title>how do rotate hid-multitouch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1147665#M161245</link>
      <description>&lt;P&gt;Hi I have a touchscreen connected over USB to my i.MX6 quad.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The touch controller is detected by my Linux:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[ &amp;nbsp;&amp;nbsp;&amp;nbsp;2.299132] hid-multitouch 0003:0EEF:C002.0001: input,hiddev96: USB HID v1.11 Mouse [eGalax Inc. eGalaxTouch P80H32 4009 v0059_M00 k03_215] on usb-ci_hdrc.0-1/input0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the touch works, but I have to rotate it by 180°.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there a possibility to rotate it over the devicetree?&lt;/P&gt;&lt;P&gt;There is a&amp;nbsp; &lt;SPAN&gt;touchscreen-inverted-x property in the common touchscreen description but I don't know how to use it in the DT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 10:40:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1147665#M161245</guid>
      <dc:creator>MicMoba</dc:creator>
      <dc:date>2020-09-04T10:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: how do rotate hid-multitouch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1147669#M161247</link>
      <description>&lt;P&gt;Sorry I forgot. I use a framebuffer system.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 10:44:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1147669#M161247</guid>
      <dc:creator>MicMoba</dc:creator>
      <dc:date>2020-09-04T10:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: how do rotate hid-multitouch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1149211#M161268</link>
      <description>&lt;P&gt;Hi&amp;nbsp;MicMoba&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for better understanding of these properties one can look at&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"DT helper functions for touchscreen devices "&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/input/touchscreen/of_touchscreen.c?h=imx_5.4.24_2.1.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/input/touchscreen/of_touchscreen.c?h=imx_5.4.24_2.1.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2020 00:32:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1149211#M161268</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-09-05T00:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: how do rotate hid-multitouch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1149250#M161277</link>
      <description>&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;thanks for reply. I always read the DT Documetation about touchscreen but I don't know how to implement this in my DT. When I use a I2C touchscreen I put the touchscreen properties into the I2C node. But I don't know where to place the properties when I have a USB touchscreen.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2020 13:39:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1149250#M161277</guid>
      <dc:creator>MicMoba</dc:creator>
      <dc:date>2020-09-05T13:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: how do rotate hid-multitouch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1158951#M162508</link>
      <description>&lt;P&gt;I have exactly the same problem. Did you figure it out?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 01:20:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1158951#M162508</guid>
      <dc:creator>ujwal-setlur</dc:creator>
      <dc:date>2020-09-25T01:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: how do rotate hid-multitouch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1159032#M162515</link>
      <description>&lt;P&gt;Hi ujwal-setlur&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;no not really. I wanted to rotate the touch with the device tree but I didn't find a way to do that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Finally I used the tool ts_calibrate which comes with &lt;A href="https://github.com/libts/tslib" target="_self"&gt;libts&lt;/A&gt;. After calibrating the touch was rotated.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;You can test it with ts_test which comes also with libts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;But if I started my QT application and the touch wasn't rotated as I expected. So I use the following QT environment variable to rotate the touch in QT:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="TextRun SCXO162624086 BCX7"&gt;&lt;SPAN class="SpellingError SCXO162624086 BCX7"&gt;export&lt;/SPAN&gt;&lt;SPAN class="NormalTextRun SCXO162624086 BCX7"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/&lt;/SPAN&gt;&lt;SPAN class="SpellingError SCXO162624086 BCX7"&gt;dev&lt;/SPAN&gt;&lt;SPAN class="NormalTextRun SCXO162624086 BCX7"&gt;/&lt;/SPAN&gt;&lt;SPAN class="SpellingError SCXO162624086 BCX7"&gt;input&lt;/SPAN&gt;&lt;SPAN class="NormalTextRun SCXO162624086 BCX7"&gt;/event0:rotate=180&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="EOP SCXO162624086 BCX7"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 04:09:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1159032#M162515</guid>
      <dc:creator>MicMoba</dc:creator>
      <dc:date>2020-09-25T04:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: how do rotate hid-multitouch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1159044#M162517</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24576"&gt;@MicMoba&lt;/a&gt;&amp;nbsp;. I am on Android-9, so I wonder if that will work for me, but I will give it a shot!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 04:38:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-do-rotate-hid-multitouch/m-p/1159044#M162517</guid>
      <dc:creator>ujwal-setlur</dc:creator>
      <dc:date>2020-09-25T04:38:09Z</dc:date>
    </item>
  </channel>
</rss>

