1# Copyright (C) 2010 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15# 16# Input Device Calibration File for the Passion touch screen. 17# 18# These calibration values are derived from empirical measurements 19# and may not be appropriate for use with other touch screens. 20# Refer to the input device calibration documentation for more details. 21# 22 23# Touch Size 24touch.touchSize.calibration = pressure 25 26# Tool Size 27# Driver reports tool size as a linear width measurement summed over 28# all contact points. 29# 30# Raw width field measures approx. 1 unit per millimeter 31# of tool size on the surface where a raw width of 1 corresponds 32# to about 17mm of physical size. Given that the display resolution 33# is 10px per mm we obtain a scale factor of 10 pixels / unit and 34# a bias of 160 pixels. In addition, the raw width represents a 35# sum of all contact area so we note this fact in the calibration. 36touch.toolSize.calibration = linear 37touch.toolSize.linearScale = 10 38touch.toolSize.linearBias = 160 39touch.toolSize.isSummed = 1 40 41# Pressure 42# Driver reports signal strength as pressure. 43# 44# A normal thumb touch while touching the back of the device 45# typically registers about 100 signal strength units although 46# this value is highly variable and is sensitive to contact area, 47# manner of contact and environmental conditions. We set the 48# scale so that a normal touch with good signal strength will be 49# reported as having a pressure somewhere in the vicinity of 1.0, 50# a featherlight touch will be below 1.0 and a heavy or large touch 51# will be above 1.0. We don't expect these values to be accurate. 52touch.pressure.calibration = amplitude 53touch.pressure.source = default 54touch.pressure.scale = 0.01 55 56# Size 57touch.size.calibration = normalized 58 59# Orientation 60touch.orientation.calibration = none 61 62