X6833B: Add keylayout file to map double tap event to wake

Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
This commit is contained in:
dodyirawan85 2023-12-11 09:06:56 +07:00
parent 3aa2b1f112
commit 5f632b55a9
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1 @@
key 183 WAKEUP

View file

@ -163,6 +163,10 @@ PRODUCT_PACKAGES += \
# Include GSI keys # Include GSI keys
$(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk)
# Keylayout
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/keylayout/mtk-tpd.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/mtk-tpd.kl
# Keymaster # Keymaster
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.keystore.app_attest_key.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.keystore.app_attest_key.xml frameworks/native/data/etc/android.hardware.keystore.app_attest_key.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.keystore.app_attest_key.xml