summaryrefslogtreecommitdiffstats
path: root/mxt224_ts_input.idc
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-10-14 21:40:18 -0700
committerJeff Brown <jeffbrown@google.com>2010-10-14 21:44:55 -0700
commit090cebc789e110a6ed60422c449515f47c6d241d (patch)
tree17309f3023783aaf14f10d81398fe9d067b32a1f /mxt224_ts_input.idc
parent974ba148a66cbecc7a787d4bd6031926a9a85504 (diff)
downloaddevice_samsung_crespo-090cebc789e110a6ed60422c449515f47c6d241d.zip
device_samsung_crespo-090cebc789e110a6ed60422c449515f47c6d241d.tar.gz
device_samsung_crespo-090cebc789e110a6ed60422c449515f47c6d241d.tar.bz2
Update input device calibration file.
New calibration data for the new driver. Bug: 3096045 Change-Id: Ia0070db5223a6ab4d23bb658d7a56829cc0e0c88
Diffstat (limited to 'mxt224_ts_input.idc')
-rw-r--r--mxt224_ts_input.idc52
1 files changed, 52 insertions, 0 deletions
diff --git a/mxt224_ts_input.idc b/mxt224_ts_input.idc
new file mode 100644
index 0000000..f754999
--- /dev/null
+++ b/mxt224_ts_input.idc
@@ -0,0 +1,52 @@
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
+# 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.
+#
+
+# Touch Size
+touch.touchSize.calibration = pressure
+
+# Tool Size
+# Driver reports tool size as an area measurement.
+#
+# 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
+
+# Pressure
+# Driver reports signal strength as pressure.
+#
+# A normal thumb touch typically registers about 100 signal strength
+# units although we don't expect these values to be accurate.
+touch.pressure.calibration = amplitude
+touch.pressure.source = default
+touch.pressure.scale = 0.01
+
+# Size
+touch.size.calibration = normalized
+
+# Orientation
+touch.orientation.calibration = none
+