blob: bed1e8aed32aa8acc8f14085d0cd4a9bed2376fd [file] [log] [blame]
Jeff Brownbc136242010-09-14 16:27:52 -07001# 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#
Jeff Brown29e278b2010-08-31 16:30:44 -070016# Input Device Calibration File
Jeff Brownbc136242010-09-14 16:27:52 -070017#
Jeff Brown29e278b2010-08-31 16:30:44 -070018
19# Touch Area
20touch.touchArea.calibration = pressure
21
22# Tool Area
23# Raw width field measures approx. 0.5 units per millimeter
24# of tool area on the surface where a raw width of 15 corresponds
25# to about 18mm of physical size. Given that the display resolution
26# is 9.6px per mm we obtain a scale factor of 4.8 pixels / unit and
27# a bias of 100.8 pixels. Each contact point is measured independently
28# so the raw width is not a sum.
29touch.toolArea.calibration = linear
30touch.toolArea.linearScale = 4.8
31touch.toolArea.linearBias = 100.8
32touch.toolArea.isSummed = 0
33
34# Pressure
35# Driver reports signal strength as pressure.
36# A normal thumb touch while touching the back of the device
37# typically registers about 40 signal strength units although
38# this value is highly variable and is sensitive to contact area,
39# manner of contact and environmental conditions. We set the
40# scale so that a normal touch with good signal strength will be
41# reported as having a pressure somewhere in the vicinity of 1.0,
42# a featherlight touch will be below 1.0 and a heavy or large touch
43# will be above 1.0. We don't expect these values to be accurate.
44touch.pressure.calibration = amplitude
45touch.pressure.source = default
46touch.pressure.scale = 0.025
47
48# Size
49touch.size.calibration = normalized
50
51# Orientation
52touch.orientation.calibration = none
53