Files
thermostat-hw/main/drivers/touch/touch_gt911.h
T
2026-08-03 20:31:28 -07:00

18 lines
388 B
C

#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