From e6e3bc7b7677ebdf20ac437f068e01ef49268e3e Mon Sep 17 00:00:00 2001 From: Fenglin Wu Date: Thu, 5 Mar 2020 19:31:14 +0800 Subject: [PATCH] sm6150-common: Add config to exclude haptics devices from input subsystem Haptics devices which registers as input FF devices are not supposed to be detected by input subsystem. Add excluded-input-devices.xml file for input subsystem to exclude them. Change-Id: I52dc6e502b29e2813299d073195a0991bb2cf692 --- configs/excluded-input-devices.xml | 31 ++++++++++++++++++++++++++++++ sm6150.mk | 3 +++ 2 files changed, 34 insertions(+) create mode 100755 configs/excluded-input-devices.xml diff --git a/configs/excluded-input-devices.xml b/configs/excluded-input-devices.xml new file mode 100755 index 0000000..cc22d2a --- /dev/null +++ b/configs/excluded-input-devices.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sm6150.mk b/sm6150.mk index 2b32eb5..647610b 100644 --- a/sm6150.mk +++ b/sm6150.mk @@ -345,6 +345,9 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ vendor.qti.hardware.vibrator.service +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml + # Vulkan PRODUCT_PACKAGES += \ libvulkan