summaryrefslogtreecommitdiff
path: root/goodix_ts_core.h
diff options
context:
space:
mode:
authorWendly Li <wendlyli@google.com>2023-02-24 09:50:19 +0000
committerWendly Li <wendlyli@google.com>2023-03-09 09:13:56 +0000
commit43c3130d20f6553cd581c5489046f435de09d7c4 (patch)
tree7d7bc5784c481d503bda19b66e07c0012e675c22 /goodix_ts_core.h
parentf1f49bd734cb33ed7aea62d6c71fd0e6274bbda4 (diff)
downloadgoodix_touch-43c3130d20f6553cd581c5489046f435de09d7c4.tar.gz
touch/goodix: Support coordinate filter
Bug: 269560367 Test: Check coordinate filter works properly Change-Id: I2fbf972d1d67f3c28b090a9db1569e52e407c384 Signed-off-by: Wendly Li <wendlyli@google.com>
Diffstat (limited to 'goodix_ts_core.h')
-rw-r--r--goodix_ts_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/goodix_ts_core.h b/goodix_ts_core.h
index 74382a2..ceba3e5 100644
--- a/goodix_ts_core.h
+++ b/goodix_ts_core.h
@@ -686,6 +686,10 @@ struct goodix_ts_hw_ops {
struct goodix_ts_core *cd, enum frame_data_type type);
int (*get_self_sensing_data)(
struct goodix_ts_core *cd, enum frame_data_type type);
+ int (*set_coord_filter_enabled)(
+ struct goodix_ts_core *cd, bool enabled);
+ int (*get_coord_filter_enabled)(
+ struct goodix_ts_core *cd, bool* enabled);
};
/*