summaryrefslogtreecommitdiff
path: root/goodix_ts_core.h
diff options
context:
space:
mode:
authorWendly Li <wendlyli@google.com>2023-03-14 10:12:45 +0000
committerWendly Li <wendlyli@google.com>2023-03-14 10:12:48 +0000
commit933393b821e38f6662cfda95657a688bd4362b58 (patch)
tree6f03a9147c7b0909e1c78f5b5a15a81ef0c894d5 /goodix_ts_core.h
parentd50a9d70148ab42cdd66e4baa27167432fd1efbe (diff)
downloadgoodix_touch-933393b821e38f6662cfda95657a688bd4362b58.tar.gz
touch/goodix: Support for setting report rate
Bug: 273148352 Test: Trun on/off smooth display in settings Change-Id: I27c4bcf6df89b52c1a38ce4c5e9ff03ee90f72f1 Signed-off-by: Wendly Li <wendlyli@google.com>
Diffstat (limited to 'goodix_ts_core.h')
-rw-r--r--goodix_ts_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/goodix_ts_core.h b/goodix_ts_core.h
index ceba3e5..33a59ee 100644
--- a/goodix_ts_core.h
+++ b/goodix_ts_core.h
@@ -690,6 +690,7 @@ struct goodix_ts_hw_ops {
struct goodix_ts_core *cd, bool enabled);
int (*get_coord_filter_enabled)(
struct goodix_ts_core *cd, bool* enabled);
+ int (*set_report_rate)(struct goodix_ts_core *cd, u32 rate);
};
/*