2024-02-14 12:47 AM
Hello,
I plan to use a STM32H745 controller and 7" LCD TFT display with resistive touch. Am using TouchGFX for UI developement.
My application should support Touch gestures such as swipe and list scroll.
I already have used capacitive touch in another project with same controller and touchGFX and was able to swipe and scroll seamlessy without any additional implementation
Are these gestures possible with a rsistive touch screen? if yes then can you please provide any sample codes for the same.
Thanks
Anuj
Solved! Go to Solution.
2024-02-15 02:35 AM - edited 2024-02-15 02:35 AM
Hello @ATank.1 ,
There's no difference between the capacitive and resistive implementation in TouchGFX. So if your board has the driver for a touch screen, it will work either if it's resistive or capacitive.
There are few examples in TouchGFX Designer that use gestures like the SwipeContainer or the ScrollWheel examples. Also you can check the code of these widgets to see how it works.
I hope it answers your question.
Regards,
2024-02-15 02:35 AM - edited 2024-02-15 02:35 AM
Hello @ATank.1 ,
There's no difference between the capacitive and resistive implementation in TouchGFX. So if your board has the driver for a touch screen, it will work either if it's resistive or capacitive.
There are few examples in TouchGFX Designer that use gestures like the SwipeContainer or the ScrollWheel examples. Also you can check the code of these widgets to see how it works.
I hope it answers your question.
Regards,
2024-02-21 07:29 PM
Hello,
Thank you for you reply.
Just to confirm the driver only gives us touch coordinates. The scrolling and swiping is handled by TouchGFX internally?
Thanks
Anuj
2024-02-23 05:24 AM
Hello @ATank.1 ,
Yes, swiping / scrolling / gestures / and all other event are handled by TouchGFX.
I hope that answer your question,
Regards