summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/eve_touch_engine.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2025-07-28 23:27:12 +0200
committerUros Majstorovic <majstor@majstor.org>2025-07-28 23:27:12 +0200
commit58f41971b1e801ad2fbcea08e5152afa2b18ca73 (patch)
tree51793b55b350f7807d5d1b7e1401b50f402ccc48 /fw/fe310/eos/eve/eve_touch_engine.h
parentdab5a1fbd188f8f9436df1b3dff6e344c444fc23 (diff)
sys logging added; power management reimplemented; bugfixes;
Diffstat (limited to 'fw/fe310/eos/eve/eve_touch_engine.h')
-rw-r--r--fw/fe310/eos/eve/eve_touch_engine.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/fw/fe310/eos/eve/eve_touch_engine.h b/fw/fe310/eos/eve/eve_touch_engine.h
index 3a7508f..8eb7333 100644
--- a/fw/fe310/eos/eve/eve_touch_engine.h
+++ b/fw/fe310/eos/eve/eve_touch_engine.h
@@ -1,9 +1,20 @@
#include <stdint.h>
-void eve_touch_init_engine(void);
+#define EVE_TOUCH_ENGINE_HOST 0x4000
+#define EVE_TOUCH_ENGINE_FOCALTECH 0x0380
+#define EVE_TOUCH_ENGINE_GOODIX 0x05D0
+
+#define EVE_TOUCH_ENGINE_MASK 0x4FF0
+
+void eve_touch_init_engine(uint16_t engine);
+uint16_t eve_touch_get_engine(void);
+void eve_touch_set_engine(uint16_t engine);
+void eve_touch_intr_enable(void);
+void eve_touch_intr_disable(void);
void eve_touch_start(void);
void eve_touch_stop(void);
+int eve_touch_get_extended(void);
void eve_touch_set_extended(int extended);
void eve_touch_get_matrix(uint32_t *touch_matrix);
void eve_touch_set_matrix(const uint32_t *touch_matrix);