diff --git a/NVTCapacitivePen.idc b/NVTCapacitivePen.idc new file mode 100644 index 0000000..39f5158 --- /dev/null +++ b/NVTCapacitivePen.idc @@ -0,0 +1,2 @@ +touch.orientationAware = 1 +touch.orientation = ORIENTATION_270 diff --git a/NVTCapacitiveTouchScreen.idc b/NVTCapacitiveTouchScreen.idc new file mode 100644 index 0000000..bcfcb54 --- /dev/null +++ b/NVTCapacitiveTouchScreen.idc @@ -0,0 +1 @@ +touch.orientation = ORIENTATION_270 diff --git a/device-tangorpro.mk b/device-tangorpro.mk index dde0741..cc46041 100644 --- a/device-tangorpro.mk +++ b/device-tangorpro.mk @@ -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