Skip to main content
Vins
Associate III
July 20, 2022
Question

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

  • July 20, 2022
  • 2 replies
  • 831 views

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.

2 replies

Yoann KLEIN
ST Employee
July 21, 2022

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
July 21, 2022

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
July 21, 2022

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
July 22, 2022

Hi, Thank you for your support.

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