From eea2f300711e2772485bfca097b88ee03b430ec8 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Thu, 11 Aug 2011 14:37:12 -0700 Subject: Update touch screen configuration. Bug: 5064702 Change-Id: I543b147ec41a6bdfe2c8b83a09510947de6f2ce8 --- mxt224_ts_input.idc | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) (limited to 'mxt224_ts_input.idc') diff --git a/mxt224_ts_input.idc b/mxt224_ts_input.idc index d258f04..866e3dc 100644 --- a/mxt224_ts_input.idc +++ b/mxt224_ts_input.idc @@ -15,29 +15,18 @@ # # Input Device Calibration File for the Crespo touch screen. # -# These calibration values are derived from empirical measurements -# and may not be appropriate for use with other touch screens. -# Refer to the input device calibration documentation for more details. -# # Basic Parameters touch.deviceType = touchScreen touch.orientationAware = 1 -# Touch Size -touch.touchSize.calibration = pressure - -# Tool Size -# Driver reports tool size as an area measurement. -# +# Size # Based on empirical measurements, we estimate the size of the tool -# using size = sqrt(22 * rawToolArea + 0) * 9.2 + 0. -touch.toolSize.calibration = area -touch.toolSize.areaScale = 22 -touch.toolSize.areaBias = 0 -touch.toolSize.linearScale = 9.2 -touch.toolSize.linearBias = 0 -touch.toolSize.isSummed = 0 +# using size = sqrt(area) * 43 + 0. +touch.size.calibration = area +touch.size.scale = 43 +touch.size.bias = 0 +touch.size.isSummed = 0 # Pressure # Driver reports signal strength as pressure. @@ -48,9 +37,6 @@ touch.pressure.calibration = amplitude touch.pressure.source = default touch.pressure.scale = 0.01 -# Size -touch.size.calibration = normalized - # Orientation touch.orientation.calibration = none -- cgit v1.1