summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-03-28 17:48:55 +0200
committerUros Majstorovic <majstor@majstor.org>2021-03-28 17:48:55 +0200
commit0c91545c535eaf04b5afc65d3326f24eb63086e8 (patch)
tree1a1b7af8e65bc2d8fc7b24b0d5a8e1bcccf803c5
parentcd7d67b9a801f6446c2546ec89f71a6019432b68 (diff)
removed ext event tap1
-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