diff options
author | Wendly Li <wendlyli@google.com> | 2022-05-27 15:11:35 +0000 |
---|---|---|
committer | Wendly Li <wendlyli@google.com> | 2022-06-24 06:00:00 +0000 |
commit | beb4b57d63552662a471943e001286d5f82bee68 (patch) | |
tree | 1220a0c9a05e41d141508013160ca0471cd09722 /goodix_ts_core.h | |
parent | e8af885da60c9ab545ab41589db3400a5351a4b3 (diff) | |
download | goodix_touch-beb4b57d63552662a471943e001286d5f82bee68.tar.gz |
goodix: Support palm and grip configurations
Bug: 214118830
Bug: 214118809
Test: Check fw palm and grip works fine and can be switched
Change-Id: Ie7ccd450931ed709c35f7f1ebae156d845ea723b
Signed-off-by: Wendly Li <wendlyli@google.com>
Diffstat (limited to 'goodix_ts_core.h')
-rw-r--r-- | goodix_ts_core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/goodix_ts_core.h b/goodix_ts_core.h index e005cf8..fb0df20 100644 --- a/goodix_ts_core.h +++ b/goodix_ts_core.h @@ -590,6 +590,10 @@ struct goodix_ts_hw_ops { int (*set_continuously_report_enabled)( struct goodix_ts_core *cd, bool enabled); int (*set_heatmap_enabled)(struct goodix_ts_core *cd, bool enabled); + int (*set_palm_enabled)(struct goodix_ts_core *cd, bool enabled); + int (*get_palm_enabled)(struct goodix_ts_core *cd, bool* enabled); + int (*set_grip_enabled)(struct goodix_ts_core *cd, bool enabled); + int (*get_grip_enabled)(struct goodix_ts_core *cd, bool* enabled); }; /* |