InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.65k stars 912 forks source link

Touchhandler rework #1631

Closed Riksu9000 closed 1 year ago

Riksu9000 commented 1 year ago

Moved LVGL handling out of TouchHandler, so it just processes Cst816S data. Removed Cst816S dependency from TouchHandler. Cst816S::TouchInfo is simply passed to the processing function.

Outside the scope of this PR, but since TouchHandler is just processing Cst816S data to an InfiniTime friendly format, this code could in the future be moved inside the driver itself, so different touch drivers would have their own processing functions.

github-actions[bot] commented 1 year ago
Build size and comparison to develop: Section Size Difference
text 414984B 4B
data 940B 0B
bss 53568B 0B