first commit
This commit is contained in:
commit
0ef2017d18
28 files changed
+1882
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#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
|
||||
Reference in new issue
Block a user