summaryrefslogtreecommitdiff
path: root/goodix_ts_core.h
diff options
context:
space:
mode:
authorxulinkun <xulinkun@goodix.com>2022-03-04 12:43:12 +0800
committerWendly Li <wendlyli@google.com>2022-03-25 10:40:46 +0000
commit9d66e88a3704ee82c67c617ec6e7c9cef2403dca (patch)
tree9301ee4b82b176580826d95d2f13ba9fd9295168 /goodix_ts_core.h
parent33b3ecc094052f7f3a79a82d048d04e2d7f2fafb (diff)
downloadgoodix_touch-9d66e88a3704ee82c67c617ec6e7c9cef2403dca.tar.gz
Import v1.0.4 driver
- Add new sleep mode - Support reading scan mode - Support major, minor, orientation Bug: 214118944 Test: test the new sleep works properly Change-Id: I0a3888d7d4639948eb9972a934485de97eee5268 Signed-off-by: Wendly Li <wendlyli@google.com>
Diffstat (limited to 'goodix_ts_core.h')
-rw-r--r--goodix_ts_core.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/goodix_ts_core.h b/goodix_ts_core.h
index de9ad0a..6da626a 100644
--- a/goodix_ts_core.h
+++ b/goodix_ts_core.h
@@ -46,7 +46,7 @@
#define GOODIX_CORE_DRIVER_NAME "goodix_ts"
#define GOODIX_PEN_DRIVER_NAME "goodix_ts,pen"
-#define GOODIX_DRIVER_VERSION "v1.0.3"
+#define GOODIX_DRIVER_VERSION "v1.0.4"
#define GOODIX_MAX_TOUCH 10
#define GOODIX_PEN_MAX_PRESSURE 4096
#define GOODIX_MAX_PEN_KEY 2
@@ -381,7 +381,8 @@ enum touch_point_status {
/* coordinate package */
struct goodix_ts_coords {
int status; /* NONE, RELEASE, TOUCH */
- unsigned int x, y, w, p;
+ unsigned int x, y, major, minor, p;
+ signed char angle;
};
struct goodix_pen_coords {