summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2020-06-23 12:04:45 +0800
committerMichael Bestas <mkbestas@lineageos.org>2020-06-29 15:27:58 +0200
commit874001e92d88535f33f4ebe7aaa802a994eb95aa (patch)
tree0a9d6daa992ce9cb9d5724efa2d79f10273a3776
parent901c449c16ae354d323bae5d1e31ccb4a8b41845 (diff)
sdm660-common: Remove keymap of headset buttons
Change-Id: Ib64eb55a74e9ddfe53a0c0f8310cc0360c178d56
-rw-r--r--keylayout/sdm660-snd-card_Button_Jack.kl5
-rw-r--r--sdm660.mk1
2 files changed, 0 insertions, 6 deletions
diff --git a/keylayout/sdm660-snd-card_Button_Jack.kl b/keylayout/sdm660-snd-card_Button_Jack.kl
deleted file mode 100644
index 609d8cc..0000000
--- a/keylayout/sdm660-snd-card_Button_Jack.kl
+++ /dev/null
@@ -1,5 +0,0 @@
-# xuke @ 20160104 Import MIUI patch for headset buttons.
-
-key 226 HEADSETHOOK WAKE
-key 257 MEDIA_PREVIOUS WAKE
-key 258 MEDIA_NEXT WAKE
diff --git a/sdm660.mk b/sdm660.mk
index 45b4ab2..5a72df2 100644
--- a/sdm660.mk
+++ b/sdm660.mk
@@ -312,7 +312,6 @@ PRODUCT_COPY_FILES += \
# Keylayout
PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/keylayout/sdm660-snd-card_Button_Jack.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/sdm660-snd-card_Button_Jack.kl \
$(LOCAL_PATH)/keylayout/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl \
$(LOCAL_PATH)/keylayout/uinput-goodix.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-goodix.kl