Touch Gestures using resistive touch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-15 2:35 AM - edited ‎2024-02-15 2: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,
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-15 2:35 AM - edited ‎2024-02-15 2: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,
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-21 7: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-23 5:24 AM
Hello @ATank.1 ,
Yes, swiping / scrolling / gestures / and all other event are handled by TouchGFX.
I hope that answer your question,
Regards
ST Software Developer | TouchGFX
