From 9106bb82982cd8f2a9b363fb60516e45f6b68984 Mon Sep 17 00:00:00 2001 From: Nehemiah of Zebulun Date: Thu, 14 Dec 2023 21:50:54 -0500 Subject: [PATCH] Add fp key --- ttp/files/fingerprint_key.kl | 3 +++ ttp/ttp.mk | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 ttp/files/fingerprint_key.kl diff --git a/ttp/files/fingerprint_key.kl b/ttp/files/fingerprint_key.kl new file mode 100644 index 0000000..792892e --- /dev/null +++ b/ttp/files/fingerprint_key.kl @@ -0,0 +1,3 @@ +# Key layout for Unihertz devices with fingerprint sensor +# For Atom {,L,XL}: fingerprint sensor as home +key 172 HOME VIRTUAL diff --git a/ttp/ttp.mk b/ttp/ttp.mk index 20e6043..f90ea3b 100644 --- a/ttp/ttp.mk +++ b/ttp/ttp.mk @@ -35,7 +35,8 @@ PRODUCT_COPY_FILES += \ device/wephone/ttp/files/mtk-kpd.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-kpd.idc \ device/wephone/ttp/files/mtk-kpd.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-kpd.kl \ device/wephone/ttp/files/mtk-pad.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-pad.idc \ - device/wephone/ttp/files/mtk-tpd.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-tpd.kl + device/wephone/ttp/files/mtk-tpd.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-tpd.kl \ + device/wephone/ttp/files/fingerprint_key.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/fingerprint_key.kl PRODUCT_PACKAGES += \ BromiteSystemWebView \