<?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 Touchless controller , cursor not moving in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Touchless-controller-cursor-not-moving/m-p/1024961#M39754</link>
    <description>&lt;P&gt;hi everyone,&lt;/P&gt;

&lt;P&gt;I am stuck with trying to implement the touchless controller feature.&lt;/P&gt;

&lt;P&gt;The documentation says that once touchlesscontrollser is enables , the cursor should follow our hand. That is not happening with my in the test code I wrote. Here's the code.&lt;/P&gt;

&lt;P&gt;The code is taken from the documentation. Also the sample has a listbox but not a freely moving cursor. Pls help.&lt;/P&gt;

&lt;PRE class="brush:csharp;"&gt;

 PXCMSenseManager sm = PXCMSenseManager.CreateInstance();
            sm.EnableTouchlessController();
            sm.Init();


            PXCMTouchlessController tc = sm.QueryTouchlessController();
            tc.SubscribeEvent(OnFiredUXEvent);
            PXCMTouchlessController.ProfileInfo pinfo;
            tc.QueryProfile(out pinfo);
            pinfo.config= PXCMTouchlessController.ProfileInfo.Configuration.Configuration_Scroll_Vertically | PXCMTouchlessController.ProfileInfo.Configuration.Configuration_Enable_Injection;
tc.SetProfile(pinfo);
            while (sm.AcquireFrame(true) &amp;gt;= pxcmStatus.PXCM_STATUS_NO_ERROR)
            {
                sm.ReleaseFrame();
            }
            sm.Dispose();
        }
        void OnFiredUXEvent(PXCMTouchlessController.UXEventData uxEventData) {
            textBox1.AppendText("Hey!  ");
      
            
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Shaleen&lt;/P&gt;</description>
    <pubDate>Tue, 16 Dec 2014 12:58:14 GMT</pubDate>
    <dc:creator>HexLord</dc:creator>
    <dc:date>2014-12-16T12:58:14Z</dc:date>
    <item>
      <title>Touchless controller , cursor not moving</title>
      <link>https://community.intel.com/t5/Software-Archive/Touchless-controller-cursor-not-moving/m-p/1024961#M39754</link>
      <description>&lt;P&gt;hi everyone,&lt;/P&gt;

&lt;P&gt;I am stuck with trying to implement the touchless controller feature.&lt;/P&gt;

&lt;P&gt;The documentation says that once touchlesscontrollser is enables , the cursor should follow our hand. That is not happening with my in the test code I wrote. Here's the code.&lt;/P&gt;

&lt;P&gt;The code is taken from the documentation. Also the sample has a listbox but not a freely moving cursor. Pls help.&lt;/P&gt;

&lt;PRE class="brush:csharp;"&gt;

 PXCMSenseManager sm = PXCMSenseManager.CreateInstance();
            sm.EnableTouchlessController();
            sm.Init();


            PXCMTouchlessController tc = sm.QueryTouchlessController();
            tc.SubscribeEvent(OnFiredUXEvent);
            PXCMTouchlessController.ProfileInfo pinfo;
            tc.QueryProfile(out pinfo);
            pinfo.config= PXCMTouchlessController.ProfileInfo.Configuration.Configuration_Scroll_Vertically | PXCMTouchlessController.ProfileInfo.Configuration.Configuration_Enable_Injection;
tc.SetProfile(pinfo);
            while (sm.AcquireFrame(true) &amp;gt;= pxcmStatus.PXCM_STATUS_NO_ERROR)
            {
                sm.ReleaseFrame();
            }
            sm.Dispose();
        }
        void OnFiredUXEvent(PXCMTouchlessController.UXEventData uxEventData) {
            textBox1.AppendText("Hey!  ");
      
            
}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Shaleen&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 12:58:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Touchless-controller-cursor-not-moving/m-p/1024961#M39754</guid>
      <dc:creator>HexLord</dc:creator>
      <dc:date>2014-12-16T12:58:14Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Touchless-controller-cursor-not-moving/m-p/1024962#M39755</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;FONT face="Courier New"&gt;OnFiredUXEvent should be called each frame with uxEventData.type == UXEventType.UXEvent_CursorMove&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT face="Courier New"&gt;and position containing the position of the cursor in rang [0,1] so you'll be able to map that according to your needs to the window, control or full screen. &lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT face="Courier New"&gt;Do you get those event?&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT face="Courier New"&gt;when injection enabled TouchlessController &lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;inject touch event into windows to simulate selection, scroll or zoom. The mouse does not moved automatically as this interfere with other touch injections.&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;FONT face="Courier New"&gt;Best Regards&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT face="Courier New"&gt;Yinon&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Dec 2014 08:32:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Touchless-controller-cursor-not-moving/m-p/1024962#M39755</guid>
      <dc:creator>Yinon_O_Intel1</dc:creator>
      <dc:date>2014-12-21T08:32:47Z</dc:date>
    </item>
  </channel>
</rss>

