general: add gpio keys

This commit is contained in:
2026-09-27 10:51:50 +02:00
parent d6dd605ce7
commit c4169f8005
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
key 115 VOLUME_UP
key 158 BACK
key 172 HOME
key 254 APP_SWITCH
+4
View File
@@ -26,6 +26,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/sensors/_hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/_hals.conf $(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-if-exists, vendor/samsung/rubenslte/rubenslte-vendor.mk)
$(call inherit-product, device/samsung/msm8226-common/msm8226.mk) $(call inherit-product, device/samsung/msm8226-common/msm8226.mk)