From 0c91545c535eaf04b5afc65d3326f24eb63086e8 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sun, 28 Mar 2021 17:48:55 +0200 Subject: removed ext event tap1 --- fw/fe310/eos/eve/eve_touch.c | 1 - fw/fe310/eos/eve/eve_touch.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/fw/fe310/eos/eve/eve_touch.c b/fw/fe310/eos/eve/eve_touch.c index 5b3cd39..f777093 100644 --- a/fw/fe310/eos/eve/eve_touch.c +++ b/fw/fe310/eos/eve/eve_touch.c @@ -267,7 +267,6 @@ void eve_handle_time(void) { } if (_touch_timer.evt & EVE_TOUCH_ETYPE_TAP2) { touch_evt |= EVE_TOUCH_ETYPE_TAP1; - if (touch) touch->eevt |= EVE_TOUCH_EETYPE_TAP1; } if (_touch_timer.evt & EVE_TOUCH_ETYPE_TRACK) { EVEVTrack *vtrack = eve_vtrack_get(); diff --git a/fw/fe310/eos/eve/eve_touch.h b/fw/fe310/eos/eve/eve_touch.h index 263379f..1bb77ba 100644 --- a/fw/fe310/eos/eve/eve_touch.h +++ b/fw/fe310/eos/eve/eve_touch.h @@ -37,8 +37,7 @@ /* extended events */ #define EVE_TOUCH_EETYPE_NOTOUCH 0x0001 #define EVE_TOUCH_EETYPE_LPRESS 0x0002 -#define EVE_TOUCH_EETYPE_TAP1 0x0004 -#define EVE_TOUCH_EETYPE_TAP2 0x0008 +#define EVE_TOUCH_EETYPE_TAP2 0x0004 #define EVE_TOUCH_EETYPE_TRACK_LEFT 0x0010 #define EVE_TOUCH_EETYPE_TRACK_RIGHT 0x0020 -- cgit v1.2.3