summaryrefslogtreecommitdiff
path: root/ft3658/focaltech_core.h
diff options
context:
space:
mode:
authorMason Wang <masonwang@google.com>2022-01-25 16:26:22 +0800
committerMason Wang <masonwang@google.com>2022-01-26 01:16:07 +0800
commit5907c990f804e733a7c477439e50958984e8ff30 (patch)
treecfbcbdcde90b48a4b27b27b7503f3d69f9259704 /ft3658/focaltech_core.h
parentffbe9fdf5c3cecc6dd2bbd65a4db53aa3b09bb5f (diff)
downloadfocaltech_touch-5907c990f804e733a7c477439e50958984e8ff30.tar.gz
touch/focaltech: support to report major & minor.
This commit is to support to report major & minor both normal touch and gesture in kernel touch driver, it should be with firmware V04_D04. Bug: 211940416 Bug: 199105018 Test: Verify pass by checking log when enabled FTS_GESTURE_EN Signed-off-by: Mason Wang <masonwang@google.com> Change-Id: I0bc402f0cf2adb08794d94e70bab8f76a18bfbae
Diffstat (limited to 'ft3658/focaltech_core.h')
-rw-r--r--ft3658/focaltech_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ft3658/focaltech_core.h b/ft3658/focaltech_core.h
index 80d1d5b..ef44e98 100644
--- a/ft3658/focaltech_core.h
+++ b/ft3658/focaltech_core.h
@@ -151,6 +151,8 @@ struct ts_event {
int flag; /* touch event flag: 0 -- down; 1-- up; 2 -- contact */
int id; /*touch ID */
int area;
+ int major;
+ int minor;
};
struct pen_event {