cancel
Showing results for 
Search instead for 
Did you mean: 

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

Vins
Senior

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

4 REPLIES 4
Yoann KLEIN
ST Employee

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 KLEIN
ST Software Developer | TouchGFX

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.

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 KLEIN
ST Software Developer | TouchGFX
Vins
Senior

Hi, Thank you for your support.

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