From 1ccfb5a469493c896dd1966612d1df885220ca5a Mon Sep 17 00:00:00 2001 From: Darshan Manjrekar Date: Mon, 7 Aug 2017 15:41:46 +0200 Subject: [PATCH] land: Add button jack keylayout * for msm8952-snd-card-sku1. Signed-off-by: Darshan Manjrekar --- keylayout/msm8952-snd-card-sku1_Button_Jack.kl | 2 ++ product/keylayout.mk | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 keylayout/msm8952-snd-card-sku1_Button_Jack.kl diff --git a/keylayout/msm8952-snd-card-sku1_Button_Jack.kl b/keylayout/msm8952-snd-card-sku1_Button_Jack.kl new file mode 100644 index 0000000..c8d1ff1 --- /dev/null +++ b/keylayout/msm8952-snd-card-sku1_Button_Jack.kl @@ -0,0 +1,2 @@ +key 250 VOLUME_DOWN +key 251 VOLUME_UP diff --git a/product/keylayout.mk b/product/keylayout.mk index f8dde8a..3dad1f5 100644 --- a/product/keylayout.mk +++ b/product/keylayout.mk @@ -1,4 +1,5 @@ # Keylayouts PRODUCT_COPY_FILES += \ $(DEVICE_PATH)/keylayout/ft5336_ts.kl:system/usr/keylayout/ft5336_ts.kl \ - $(DEVICE_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl + $(DEVICE_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ + $(DEVICE_PATH)/keylayout/msm8952-snd-card-sku1_Button_Jack.kl:system/usr/keylayout/msm8952-snd-card-sku1_Button_Jack.kl