exynos9610: add fingerprint navigation support
authorJan Altensen <info@stricted.net>
Wed, 9 Sep 2020 10:09:13 +0000 (12:09 +0200)
committerJan Altensen <info@stricted.net>
Mon, 7 Dec 2020 07:23:23 +0000 (08:23 +0100)
Change-Id: I74a41888ff12c9eed31efa5b56c9a61757dd6531

common.mk
configs/idc/uinput-egis.idc [new file with mode: 0644]
configs/keylayout/uinput-egis.kl [new file with mode: 0644]

index d19d8ef103ccd3690bbac8b25d730f0d3d2fd906..52deb3ce271bf3c86a7dffd7b116e454206bf9cd 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -121,6 +121,11 @@ PRODUCT_PACKAGES += \
     android.hardware.drm@1.0-service \
     android.hardware.drm@1.2-service.clearkey
 
+# Fingerprint Gestures
+PRODUCT_COPY_FILES += \
+    $(COMMON_PATH)/configs/keylayout/uinput-egis.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-egis.kl \
+    $(COMMON_PATH)/configs/idc/uinput-egis.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-egis.idc
+
 # FM radio
 PRODUCT_PACKAGES += \
     FMRadio \
diff --git a/configs/idc/uinput-egis.idc b/configs/idc/uinput-egis.idc
new file mode 100644 (file)
index 0000000..5a66521
--- /dev/null
@@ -0,0 +1,13 @@
+#
+# Egis Touch sensor driver
+#
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License Version 2
+# as published by the Free Software Foundation.
+#
+
+device.internal = 1
+keyboard.layout = uinput-egis
+keyboard.builtIn = 1
+keyboard.orientationAware = 1
diff --git a/configs/keylayout/uinput-egis.kl b/configs/keylayout/uinput-egis.kl
new file mode 100644 (file)
index 0000000..08680ad
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# ETS320 Touch sensor driver
+#
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License Version 2
+# as published by the Free Software Foundation.
+#
+
+# ets320 "finger present"
+key 618   SYSTEM_NAVIGATION_DOWN
+key 619   SYSTEM_NAVIGATION_UP
+key 620   SYSTEM_NAVIGATION_LEFT
+key 621   SYSTEM_NAVIGATION_RIGHT