summaryrefslogtreecommitdiff
path: root/tcm/synaptics_touchcom_core_dev.h
diff options
context:
space:
mode:
authordavidycchen <davidycchen@google.com>2022-02-14 16:51:30 +0800
committerdavidycchen <davidycchen@google.com>2022-02-21 15:48:54 +0800
commitd0732879a8fe169c58e3ced5d79d4ca1a627b4f0 (patch)
tree90d2cfd2d6138a84620db4791b8e06c785a46650 /tcm/synaptics_touchcom_core_dev.h
parentad52eb1eff09a5123daa1a20ad69885ee1f97221 (diff)
downloadsynaptics_touch-d0732879a8fe169c58e3ced5d79d4ca1a627b4f0.tar.gz
synaptics: support to enable/disable the firmware grip and plam mode
Support to enable/disable the firmware grip/palm by sysfs node and dynamically change the mode depending on offload_running status. Bug: 199104316 Test: write sysfs node and check if the mode changing correctly. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I00318352b1146210ed582265f4c82c386f228e4b
Diffstat (limited to 'tcm/synaptics_touchcom_core_dev.h')
-rw-r--r--tcm/synaptics_touchcom_core_dev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcm/synaptics_touchcom_core_dev.h b/tcm/synaptics_touchcom_core_dev.h
index 204357f..700a340 100644
--- a/tcm/synaptics_touchcom_core_dev.h
+++ b/tcm/synaptics_touchcom_core_dev.h
@@ -209,6 +209,7 @@ enum dynamic_tcm_config_id {
DC_DISABLE_PROXIMITY = 0x10,
DC_HIGH_SENSITIVIRY_MODE = 0xCB,
DC_FORCE_DOZE_MODE = 0xF0,
+ DC_ENABLE_PALM_REJECTION = 0xF3,
};
/**