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 1a425f3..2dcc4bc 100644 --- a/device-tangorpro.mk +++ b/device-tangorpro.mk @@ -76,7 +76,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 += \ diff --git a/powerhint.json b/powerhint.json index bdd91f3..79e1c35 100644 --- a/powerhint.json +++ b/powerhint.json @@ -1892,7 +1892,16 @@ "SamplingWindow_D": 1, "ReportingRateLimitNs": 166666660, "TargetTimeFactor": 1.0, - "StaleTimeFactor": 15.0 + "StaleTimeFactor": 15.0, + "HeuristicBoost_On": true, + "HBoostOnMissedCycles": 8, + "HBoostOffMaxAvgRatio": 4.0, + "HBoostOffMissedCycles": 5, + "HBoostPidPuFactor": 0.5, + "HBoostUclampMin": 722, + "JankCheckTimeFactor": 1.2, + "LowFrameRateThreshold": 25, + "MaxRecordsNum": 300 }, { "Name": "UiHighBoostWithoutPid",