[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 

Implementing touch screen interfaces for new devices RSS feed
Forum Index » IoAbstraction & TaskManagerIO
Author Message
davetcc


Joined: Jan 19, 2019
Messages: 541
Offline
This is a catch-all item for the implementation of touch support in IoAbstraction. We think that to have at least relatively comprehensive support we'd need:

* Support for resistive screens - IE +-X, +-Y. DONE and in production.
* Support for BSP touch functions within mbed for STM32. DONE and in production.
* Support for ESP32 based touch pins using the IDF API. DONE and in production for tcMenu only (move back to IoAbstraction?).
* Support for the XPT2046 device. DONE and working locally.
* Document the method for implementing a custom touch device . This will allow others to easily write the code needed to integrate another touch driver. DONE, example generated in IoAbstraction for this.
* Support for the FT6206 / CST026 so we can support the Adafruit capacitive touch units. In progress.

davetcc


Joined: Jan 19, 2019
Messages: 541
Offline
Is the FT6236 device similar to FT6206? If so it may be that one will work for the other?
Lagomorphs


Joined: Aug 23, 2021
Messages: 7
Offline
You can gets lots of cheap SPI TFT touch screens on ebay for peanuts, they all use the XPT2046. I've bought lots of them and they all work fine.
[Thumb - Capture.JPG]
 Filename Capture.JPG [Disk] Download
 Description No description given
 Filesize 288 Kbytes
 Downloaded:  1177 time(s)

davetcc


Joined: Jan 19, 2019
Messages: 541
Offline
Many thanks for that, I’ve ordered one now. Looking forward to it arriving as I have a board set up ready!
davetcc


Joined: Jan 19, 2019
Messages: 541
Offline
This work is complete now, 2.2.5 is now released supporting FT6206 and XPT2046.
pruttelherrie


Joined: Oct 21, 2020
Messages: 21
Offline
How does this work from a users' perspective? How do 'clicks' and 'scrolls' work? I'm working on a new project and I haven't decided what input to use: encoder, joystick or touch. Until now I've used only encoders and while that works absolutely fine, I'm wondering if joystick or touch would give a better experience.
davetcc


Joined: Jan 19, 2019
Messages: 541
Offline
Touch works fairly well with all controls. The only thing that isn’t implemented at the moment - mainly because I’ve not really needed it is scrolling. Normally I make sure that all the controls fit on a page.

This does mean there’s a slight hole around list items at the moment. But it’s not unfixable, just needs a bit of thought.

The touch support works somewhat like a rotary encoder and even implements the encoder interface. The touch works for most items in a similar way to clicking. For many situations it is almost invisible.

In display takeover situations you can get hold of the touch manager yourself. The esp amplifier example does that.
 
Forum Index » IoAbstraction & TaskManagerIO
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.