From 6602d509b394e1ef13c3405e0a3c400834d0d3ed Mon Sep 17 00:00:00 2001 From: Hyungwoo Yang Date: Thu, 16 May 2024 08:52:16 +0000 Subject: [PATCH] Add USI stylus input configuration file This is to support the Google USI Subsystem. Bug: 337984471 Change-Id: If2f935239047028ac70cc2451ec8369248659b95 --- USI_Stylus.idc | 4 ++++ device-tangorpro.mk | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 USI_Stylus.idc diff --git a/USI_Stylus.idc b/USI_Stylus.idc new file mode 100644 index 0000000..58d8d2c --- /dev/null +++ b/USI_Stylus.idc @@ -0,0 +1,4 @@ +touch.orientationAware = 1 +touch.orientation = ORIENTATION_0 +touch.usiVersionMajor = 2 +touch.usiVersionMinor = 0 diff --git a/device-tangorpro.mk b/device-tangorpro.mk index 57dd148..3e95329 100644 --- a/device-tangorpro.mk +++ b/device-tangorpro.mk @@ -71,7 +71,8 @@ PRODUCT_DEXPREOPT_SPEED_APPS += SystemUITitan # For tablet # Touch files PRODUCT_COPY_FILES += \ device/google/tangorpro/NVTCapacitiveTouchScreen.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/NVTCapacitiveTouchScreen.idc \ - device/google/tangorpro/NVTCapacitivePen.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/NVTCapacitivePen.idc + device/google/tangorpro/NVTCapacitivePen.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/NVTCapacitivePen.idc \ + device/google/tangorpro/USI_Stylus.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/USI_Stylus.idc # Init files PRODUCT_COPY_FILES += \