diff --git a/configs/keylayout/mtk-tpd.kl b/configs/keylayout/mtk-tpd.kl new file mode 100644 index 0000000..f5fc0ce --- /dev/null +++ b/configs/keylayout/mtk-tpd.kl @@ -0,0 +1 @@ +key 183 WAKEUP diff --git a/device.mk b/device.mk index eba3b15..45f5dd6 100644 --- a/device.mk +++ b/device.mk @@ -163,6 +163,10 @@ PRODUCT_PACKAGES += \ # Include GSI keys $(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 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