summaryrefslogtreecommitdiff
path: root/fw/fe310/eos
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos')
-rw-r--r--fw/fe310/eos/eve/eve_touch.c1
-rw-r--r--fw/fe310/eos/eve/eve_touch.h3
2 files changed, 1 insertions, 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