summaryrefslogtreecommitdiffstats
path: root/mxt224_ts_input.idc
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-08-11 14:37:12 -0700
committerJeff Brown <jeffbrown@google.com>2011-08-11 14:57:45 -0700
commiteea2f300711e2772485bfca097b88ee03b430ec8 (patch)
treefffe5e1351a23e53fdbdfde7207009d3c7e82e9c /mxt224_ts_input.idc
parenteccaf45f8d21920469e2ad414ae0ae073da5917e (diff)
downloaddevice_samsung_crespo-eea2f300711e2772485bfca097b88ee03b430ec8.zip
device_samsung_crespo-eea2f300711e2772485bfca097b88ee03b430ec8.tar.gz
device_samsung_crespo-eea2f300711e2772485bfca097b88ee03b430ec8.tar.bz2
Update touch screen configuration.
Bug: 5064702 Change-Id: I543b147ec41a6bdfe2c8b83a09510947de6f2ce8
Diffstat (limited to 'mxt224_ts_input.idc')
-rw-r--r--mxt224_ts_input.idc26
1 files changed, 6 insertions, 20 deletions
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