Note that there are some explanatory texts on larger screens.

plurals
  1. POApplication, improve performance of touch events
    primarykey
    data
    text
    <p>Basically, I have an application witch is 8000px by 8000px. We can zoom in to view a specific part, example on the radio, or we can zoom out to view everything. </p> <p>Each part of the car is a control that we can manipulate with fingers, on a dual touch or multitouch monitor.</p> <p>My problem is: for manipulating a control, for example the Volume button, the user needs to move the mouse exactly like in real life, so with a circular movement. With the mouse everything is perfect, it responds instantly without any delay. I use the OnMouseLeftButtonDown, OnMouseMove, etc. With the touch, it seems to be very difficult for the computer to get the touch position and there is a huge lag, especially when the user move 2 different button with 2 fingers at the same time. I use the OnTouchDown, OnTouchMove, etc...</p> <p>The only difference between the mouse and the touch is when we need to get the position, with the Mouse I use: (e is a MouseButtonEventArgs)</p> <pre><code>Point currentPosition = e.GetPosition(this); </code></pre> <p>With the Touch I use: (e is a TouchEventArgs)</p> <pre><code>Point currentPosition = e.GetTouchPoint(this).Position; </code></pre> <p>Everything after this is the same.</p> <p>I don't know if it's because I have too many control in the my application (over 5000 that we can manipulate, but when we zoom in on only 2 control it's the same thing) or because it is really difficult for the computer to get the position from a touch event....</p> <p>Can someone help me with this? I need to find a solution to eliminate the lag.</p> <p>I use Visual Studio 2010, Blend 4, .NET 4.0 Windows 7 64-bit 7 Gb RAM Xeon 2.13 Ghz, 2 core, 8 thread Screen: ELO technology, in a NEC 2490WUXi2 screen</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload