From ea54233e57e86d797e1596f0936aba329ed5860a Mon Sep 17 00:00:00 2001 From: SamarV-121 Date: Sat, 15 Feb 2020 22:59:40 +0530 Subject: [PATCH] sdm710-common: rootdir: Disable edge limit control interface * Enable oppo touchpanel direction too * Fixes multitouch on edge issue Signed-off-by: SamarV-121 --- rootdir/etc/init.qcom.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 1ae8b49..b6835b2 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -24,6 +24,12 @@ on boot chown 0660 /proc/touchpanel/double_tap_enable write /proc/touchpanel/double_tap_enable 1 + # Disable edge limit control interface + write /proc/touchpanel/oppo_tp_limit_enable 0 + + # Enable oppo touchpanel direction + write /proc/touchpanel/oppo_tp_direction 1 + # Update touchscreen firmware write /proc/touchpanel/tp_fw_update 1