#pragma once #include "Tactility/hal/touch/TouchDevice.h" #include #include class CoreS3Touch : public tt::hal::touch::TouchDevice { private: esp_lcd_panel_io_handle_t ioHandle = nullptr; esp_lcd_touch_handle_t touchHandle = nullptr; lv_indev_t* _Nullable deviceHandle = nullptr; void cleanup(); public: std::string getName() const final { return "FT6336U"; } std::string getDescription() const final { return "I2C touch driver"; } bool start(lv_display_t* display) override; bool stop() override; lv_indev_t* _Nullable getLvglIndev() override { return deviceHandle; } };