summaryrefslogtreecommitdiff
path: root/tcm/synaptics_touchcom_core_dev.h
diff options
context:
space:
mode:
authordavidycchen <davidycchen@google.com>2022-02-25 16:12:12 +0800
committerdavidycchen <davidycchen@google.com>2022-03-07 16:28:12 +0800
commitba43ce7e908a9f7f8c234d8cf4a0aa4d4a4f87fa (patch)
tree8ddd32eae1cf1d69c015eac728ac54abf89b4a87 /tcm/synaptics_touchcom_core_dev.h
parentc5e2ea3daf0732f625ab00711168d53e05cf426d (diff)
downloadsynaptics_touch-ba43ce7e908a9f7f8c234d8cf4a0aa4d4a4f87fa.tar.gz
synaptics: support finger leaves event for UDFPS
Bug: 220992096 Test: LHBM is off right after finger leaves. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: Ibc4fda47f8c3faca57b03b8a675e271c8051baa9
Diffstat (limited to 'tcm/synaptics_touchcom_core_dev.h')
-rw-r--r--tcm/synaptics_touchcom_core_dev.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tcm/synaptics_touchcom_core_dev.h b/tcm/synaptics_touchcom_core_dev.h
index 043d686..9acfdde 100644
--- a/tcm/synaptics_touchcom_core_dev.h
+++ b/tcm/synaptics_touchcom_core_dev.h
@@ -185,6 +185,19 @@ enum tcm_app_status {
};
/**
+ * @section: Touch Scan Mode Dynamic Configuration
+ *
+ * The current touch scan mode.
+ */
+enum tcm_scan_mode {
+ SCAN_NORMAL_IDLE = 0,
+ SCAN_NORMAL_ACTIVE,
+ SCAN_LPWG_IDLE,
+ SCAN_LPWG_ACTIVE,
+ SCAN_SLEEP,
+};
+
+/**
* @section: Field IDs in Dynamic Configuration
*
* The codes specify the generic dynamic configuration options.
@@ -209,6 +222,7 @@ enum dynamic_tcm_config_id {
DC_DISABLE_PROXIMITY = 0x10,
DC_HIGH_SENSITIVIRY_MODE = 0xCB,
DC_FORCE_DOZE_MODE = 0xF0,
+ DC_TOUCH_SCAN_MODE = 0xF2,
DC_ENABLE_PALM_REJECTION = 0xF3,
DC_CONTINUOUSLY_REPORT = 0xF5,
};