Skip to main content
VSimu.1
Associate III
November 5, 2020
Solved

Touch screen wiggling/shaking, need help to improve performance!

  • November 5, 2020
  • 1 reply
  • 850 views

Hello,

We have problems with the touch screen performance. Is there a way to make this better?

We are using the TouchGFX Example project with the same poor results "Smart Embedded display 7.0" with the "Swipe Container Example".

Basically if I hold my finger on the Swipe Container, the swipe container continuously wiggles left/right even though I am keeping my finger as still as humanly possible. We observe the same behavior with a Slider widget.

We initialize with these settings in our custom application, which then has slightly better performance than the example.

 hal.setTouchSampleRate(2);

 hal.setFingerSize(20);

 hal.setDragThreshold(5);

It seems I have tried every possible combination to try to improve this. Whatever I do, I still get some wiggle. The Example projects perform far worse than this on this display. Any advice would be appreciated.

Even a reference to what settings you guys have had the most success with on other boards would be helpful. Maybe I can use that experience to improve the performance on my board and hopefully get rid of this wiggling. The wiggling/shaking makes the whole product seem it has poorer quality, even though it has some fantastic features/functionality, which are not affected by this. But its the optical impression on the customer which this is really making bad.

Cheers!

This topic has been closed for replies.
Best answer by VSimu.1

Resolved.

Setting setFingerSize() and setDragThreshold() to the same value fixed it for us:

hal.setFingerSize(20);

hal.setDragThreshold(20);

1 reply

VSimu.1
VSimu.1AuthorBest answer
Associate III
November 6, 2020

Resolved.

Setting setFingerSize() and setDragThreshold() to the same value fixed it for us:

hal.setFingerSize(20);

hal.setDragThreshold(20);