diff options
author | Super Liu <supercjliu@google.com> | 2023-05-29 08:50:04 +0000 |
---|---|---|
committer | Super Liu <supercjliu@google.com> | 2023-05-29 08:56:00 +0000 |
commit | fcc49005d03158bee5077feb83ed7487a9fb4fd4 (patch) | |
tree | cc29ab6879b6f4d8266b9370255028c6e84083b3 | |
parent | 737c988d42ef167c0b6946507c720a8345ab620e (diff) | |
download | common-fcc49005d03158bee5077feb83ed7487a9fb4fd4.tar.gz |
gti: Default enable the touch features of cancel and rotation reporting
Test: TH build pass.
Bug: 284790341
Change-Id: I566a5b1219609befea9f3fdf20fe5e95d4765e81
Signed-off-by: Super Liu <supercjliu@google.com>
-rw-r--r-- | goog_touch_interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/goog_touch_interface.c b/goog_touch_interface.c index 895d7ef..7eb143c 100644 --- a/goog_touch_interface.c +++ b/goog_touch_interface.c @@ -2575,15 +2575,15 @@ int goog_offload_probe(struct goog_touch_interface *gti) gti->offload.caps.continuous_reporting = true; gti->offload.caps.noise_reporting = false; gti->offload.caps.cancel_reporting = - of_property_read_bool(np, "goog,offload-caps-cancel-reporting"); + !of_property_read_bool(np, "goog,offload-caps-cancel-reporting-disabled"); gti->offload.caps.size_reporting = true; gti->offload.caps.filter_grip = true; gti->offload.caps.filter_palm = true; gti->offload.caps.coord_filter = gti->coord_filter_enabled && of_property_read_bool(np, "goog,offload-caps-coord-filter"); gti->offload.caps.num_sensitivity_settings = 1; - gti->offload.caps.rotation_reporting = of_property_read_bool(np, - "goog,offload-caps-rotation-reporting"); + gti->offload.caps.rotation_reporting = + !of_property_read_bool(np, "goog,offload-caps-rotation-reporting-disabled"); gti->offload.hcallback = (void *)gti; gti->offload.report_cb = goog_offload_input_report; |