diff --git a/configs/keylayout/sdm660-snd-card_Button_Jack.kl b/configs/keylayout/sdm660-snd-card_Button_Jack.kl new file mode 100644 index 0000000..19ee67a --- /dev/null +++ b/configs/keylayout/sdm660-snd-card_Button_Jack.kl @@ -0,0 +1,3 @@ +key 226 HEADSETHOOK +key 257 VOLUME_UP +key 258 VOLUME_DOWN diff --git a/device.mk b/device.mk index 6fe5fd8..5607ee2 100644 --- a/device.mk +++ b/device.mk @@ -50,6 +50,10 @@ $(call inherit-product, $(DEVICE_PATH)/device_prop.mk) PRODUCT_COPY_FILES += \ $(DEVICE_PATH)/media/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml +# Keylayout +PRODUCT_COPY_FILES += \ + $(DEVICE_PATH)/configs/keylayout/sdm660-snd-card_Button_Jack.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/sdm660-snd-card_Button_Jack.kl + # Permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.camera.autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.autofocus.xml diff --git a/keylayout/uinput-fpc.kl b/keylayout/uinput-fpc.kl deleted file mode 100644 index f02e8ec..0000000 --- a/keylayout/uinput-fpc.kl +++ /dev/null @@ -1,8 +0,0 @@ -################################## -# -#add for fpc fingerprints -# -################################## - -key 172 HOME VIRTUAL -