summaryrefslogtreecommitdiff
path: root/goodix_ts_core.h
diff options
context:
space:
mode:
authorWendly Li <wendlyli@google.com>2022-07-21 08:20:32 +0000
committerWendly Li <wendlyli@google.com>2022-07-25 06:10:21 +0000
commitc9ead8b17e5782936b78d0c7472192e4f9319a01 (patch)
treeabd1ea3bf4e5461f916c3d84168df0e97a415fc8 /goodix_ts_core.h
parente788d534c077d25514338001eae58ce4918649bc (diff)
downloadgoodix_touch-c9ead8b17e5782936b78d0c7472192e4f9319a01.tar.gz
touch/goodix: Fix the unit of major and minor
Bug: 214118815 Test: Check the size of major/minor is correct Change-Id: If6a86e194a7ee9f1818573694813433c4740e613 Signed-off-by: Wendly Li <wendlyli@google.com>
Diffstat (limited to 'goodix_ts_core.h')
-rw-r--r--goodix_ts_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/goodix_ts_core.h b/goodix_ts_core.h
index 1cdb803..6e1661d 100644
--- a/goodix_ts_core.h
+++ b/goodix_ts_core.h
@@ -309,6 +309,7 @@ struct goodix_module {
* @irq_flag: irq trigger type
* @swap_axis: whether swaw x y axis
* @panel_max_x/y/w/p: resolution and size
+ * @panel_height_mm: the height of display in mm
* @pannel_key_map: key map
* @fw_name: name of the firmware image
*/
@@ -330,6 +331,7 @@ struct goodix_ts_board_data {
unsigned int panel_max_y;
unsigned int panel_max_w; /*major and minor*/
unsigned int panel_max_p; /*pressure*/
+ unsigned int panel_height_mm;
unsigned int udfps_x;
unsigned int udfps_y;