Skip to main content
Vins
Associate III
Jul 20, 2022 1:14 PM UTC
Question

How to map External Touch sensor (Not integrated with display) to Scroll list? Is it possible?

Hi Community,

How to map External Touch sensor (Not integrated with display) to Scroll list? Is it possible?

If yes what is the method to do it?

/Vins

This topic has been closed for replies.

4 replies

Yoann KLEIN
ST Employee
Jul 21, 2022 7:55 AM UTC

Hello @Vins​ ,

I'm not sure to fully understand what you mean with "map" to ScrollList. Do you mean be able to scroll in the ScrollList on the display with an External touch Sensor, or something else ?

/Yoann

Yoann KLEINST Software Developer | TouchGFX
Vins
VinsAuthor
Associate III
Jul 21, 2022 9:13 AM UTC

Hi @Yoann KLEIN​ ,

Yes. "mean be able to scroll in the Scroll List on the display with an External touch Sensor" Correct. I wanted to Scroll List on Display with an External Touch Sensor.

Yoann KLEIN
ST Employee
Jul 21, 2022 9:31 AM UTC

Hello,

Yes that's doable for sure.

For the project configuration, I recommend you to take a look at this article from the documentation.

To propagate coordinates data from your Model to your UI, you can read that article.

Then, if you use a ScrollableContainer instead of a ScrollList, you will be able to call the doScroll method, to manually scroll according to X and Y coordinates.

Hope that this helped,

/Yoann

Yoann KLEINST Software Developer | TouchGFX
Vins
VinsAuthor
Associate III
Jul 22, 2022 5:32 AM UTC

Hi, Thank you for your support.

I will go through all of these steps and get back to you.