Add touchscreen and stylus input configuration file.

Flip 270 degrees by design.

Bug: 231385413
Test: TreeHugger build pass.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Ie43c354cf284d2e14ba47be24073a167e15d4229
This commit is contained in:
Super Liu 2022-05-23 08:56:22 +08:00
parent 840e751461
commit 05dbf737a7
3 changed files with 8 additions and 0 deletions

2
NVTCapacitivePen.idc Normal file
View file

@ -0,0 +1,2 @@
touch.orientationAware = 1
touch.orientation = ORIENTATION_270

View file

@ -0,0 +1 @@
touch.orientation = ORIENTATION_270

View file

@ -33,6 +33,11 @@ DEVICE_PACKAGE_OVERLAYS += device/google/tangorpro/tangorpro/overlay
PRODUCT_SOONG_NAMESPACES += device/google/tangorpro
PRODUCT_PACKAGES += WifiOverlayT6pro
# 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
# Init files
PRODUCT_COPY_FILES += \
device/google/tangorpro/conf/init.tangorpro.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.tangorpro.rc