diff --git a/keylayout/gpio-keys.kl b/keylayout/gpio-keys.kl new file mode 100644 index 0000000..1632cd8 --- /dev/null +++ b/keylayout/gpio-keys.kl @@ -0,0 +1,4 @@ +key 115 VOLUME_UP +key 158 BACK +key 172 HOME +key 254 APP_SWITCH diff --git a/lineage_rubenslte.mk b/lineage_rubenslte.mk index 7241664..0663247 100644 --- a/lineage_rubenslte.mk +++ b/lineage_rubenslte.mk @@ -26,6 +26,10 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/sensors/_hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/_hals.conf +# Keylayout +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl + $(call inherit-product-if-exists, vendor/samsung/rubenslte/rubenslte-vendor.mk) $(call inherit-product, device/samsung/msm8226-common/msm8226.mk)