#ifndef TOUCH_GT911_H #define TOUCH_GT911_H #include "esp_err.h" #include "lvgl.h" /* * Probes the GT911 and registers it as an LVGL pointer input device. * * Requires i2c_bus_init(), backlight_init() (the STC8H1K28 holds the GT911 * in reset until it runs), lv_init() and display_init() to have happened. */ esp_err_t touch_init(void); lv_indev_t *touch_get_indev(void); #endif