From 2079587f0282603170a465e78b8074117fcb8c41 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 26 Feb 2020 03:44:41 +0100 Subject: portable eve --- code/fe310/eos/eve/eve.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'code/fe310/eos/eve/eve.h') diff --git a/code/fe310/eos/eve/eve.h b/code/fe310/eos/eve/eve.h index 8445ea1..f377567 100644 --- a/code/fe310/eos/eve/eve.h +++ b/code/fe310/eos/eve/eve.h @@ -3,6 +3,8 @@ #include "eve_def.h" #define EVE_ETYPE_INTR 1 +#define EVE_OK 0 +#define EVE_ERR -1 /* events */ #define EVE_TOUCH_ETYPE_TRACK 0x0001 @@ -102,6 +104,8 @@ int eve_cmd_exec(int w); void eve_cmd_burst_start(void); void eve_cmd_burst_end(void); +void eve_handle_touch(void); +void eve_handle_time(void); int eve_init(uint32_t *touch_transform); void eve_touch_set_handler(eve_touch_handler_t handler, void *handler_param); -- cgit v1.2.3