summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuper Liu <supercjliu@google.com>2023-05-29 08:50:04 +0000
committerSuper Liu <supercjliu@google.com>2023-05-30 02:42:33 +0000
commit8bb6b764259410cf733baf7027e7303db057e874 (patch)
treecacdd5474fe812cfd186e5e1b73941235d1bfad9
parentcb1ce1fb12115861672af8282416ed591b14b038 (diff)
downloadcommon-8bb6b764259410cf733baf7027e7303db057e874.tar.gz
Test: TH build pass. Bug: 284790341 Change-Id: I566a5b1219609befea9f3fdf20fe5e95d4765e81 Signed-off-by: Super Liu <supercjliu@google.com>
-rw-r--r--goog_touch_interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/goog_touch_interface.c b/goog_touch_interface.c
index 9741aeb..087fe16 100644
--- a/goog_touch_interface.c
+++ b/goog_touch_interface.c
@@ -2323,15 +2323,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;