From: Jan Altensen Date: Wed, 9 Sep 2020 10:09:13 +0000 (+0200) Subject: exynos9610: add fingerprint navigation support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=677b92a82fad23afb48a117a566c868cca61f57e;p=GitHub%2Fmoto-9609%2Fandroid_device_motorola_exynos9610-common.git exynos9610: add fingerprint navigation support Change-Id: I74a41888ff12c9eed31efa5b56c9a61757dd6531 --- diff --git a/common.mk b/common.mk index d19d8ef..52deb3c 100644 --- 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 index 0000000..5a66521 --- /dev/null +++ b/configs/idc/uinput-egis.idc @@ -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 index 0000000..08680ad --- /dev/null +++ b/configs/keylayout/uinput-egis.kl @@ -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