diff options
| -rw-r--r-- | device.mk | 7 | ||||
| -rw-r--r-- | idc/goodix_ts.idc | 4 | ||||
| -rw-r--r-- | idc/goodix_ts_station.idc | 4 | ||||
| -rw-r--r-- | keychars/goodix_ts.kcm | 1 | ||||
| -rw-r--r-- | keylayout/goodix_ts.kl | 18 |
5 files changed, 34 insertions, 0 deletions
@@ -47,6 +47,13 @@ TARGET_SCREEN_WIDTH := 1080 PRODUCT_PACKAGES += \ FrameRateTile +# Input +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/idc/goodix_ts.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/goodix_ts.idc \ + $(LOCAL_PATH)/idc/goodix_ts_station.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/goodix_ts_station.idc \ + $(LOCAL_PATH)/keychars/goodix_ts.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/goodix_ts.kcm \ + $(LOCAL_PATH)/keylayout/goodix_ts.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/goodix_ts.kl + PRODUCT_SHIPPING_API_LEVEL := 29 # Inherit from asus sm8250-common diff --git a/idc/goodix_ts.idc b/idc/goodix_ts.idc new file mode 100644 index 0000000..6cd7276 --- /dev/null +++ b/idc/goodix_ts.idc @@ -0,0 +1,4 @@ +device.internal = 1 +touch.deviceType = touchScreen +touch.orientationAware = 1 + diff --git a/idc/goodix_ts_station.idc b/idc/goodix_ts_station.idc new file mode 100644 index 0000000..75676f2 --- /dev/null +++ b/idc/goodix_ts_station.idc @@ -0,0 +1,4 @@ +device.internal = 0 +touch.deviceType = touchScreen +touch.orientationAware = 1 +touch.wake = 0 diff --git a/keychars/goodix_ts.kcm b/keychars/goodix_ts.kcm new file mode 100644 index 0000000..a510228 --- /dev/null +++ b/keychars/goodix_ts.kcm @@ -0,0 +1 @@ +type SPECIAL_FUNCTION diff --git a/keylayout/goodix_ts.kl b/keylayout/goodix_ts.kl new file mode 100644 index 0000000..5e0b616 --- /dev/null +++ b/keylayout/goodix_ts.kl @@ -0,0 +1,18 @@ +key 116 GESTURE_DOUBLE_CLICK WAKE VIRTUAL +key 103 GESTURE_SWIPE_UP WAKE VIRTUAL +key 158 BACK VIRTUAL +key 139 APP_SWITCH VIRTUAL +key 102 HOME VIRTUAL +key 17 GESTURE_W WAKE VIRTUAL +key 31 GESTURE_S WAKE VIRTUAL +key 18 GESTURE_E WAKE VIRTUAL +key 50 GESTURE_M WAKE VIRTUAL +key 44 GESTURE_Z WAKE VIRTUAL +key 47 GESTURE_V WAKE VIRTUAL +key 119 GESTURE_PAUSE WAKE VIRTUAL +key 159 GESTURE_FORWARD WAKE VIRTUAL +key 168 GESTURE_REWIND WAKE VIRTUAL +key 33 FINGERPRINT_EARLYWAKEUP +key 22 FINGERPRINT_SCREEN_OFF_LEAVE +key 38 FINGERPRINT_SCREEN_OFF_TAP_IN_IDENTIFY_AREA +key 24 FINGERPRINT_PARTIAL_FINGER |
