tobozo / ESP32-Chimera-Core

ESP32-Chimera-Core 👾 is an arduino library for M5Stack, Odroid-Go, D-Duino-32-XS and other ESP32/TFT/SD bundles
Other
168 stars 13 forks source link

does your Library support CoreS3 / Touch? #85

Open cohen-sydney opened 10 months ago

cohen-sydney commented 10 months ago

I am having issues in Arduino IDE with my CoreS3 and the Touch library. does your replacement library support Touch if so please point me to the Definitions> thansk

tobozo commented 10 months ago

CoreS3 is supported, it's inheriting autodetect settings from LovyanGFX.

It can emulate BtnA/BtnB/BtnC by using M5.update() in the loop, invisible buttons use 40px zone at the bottom of the screeen.

If your app needs the whole screen or doesn't need BtnA/BtnB/BtnC emulation, don't use M5.update().

You can then use M5.Lcd.getTouch() which is the same method as lcd.getTouch() from LovyanGFX.