• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 Crespo 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 an area measurement.
28#
29# Based on empirical measurements, we estimate the size of the tool
30# using size = sqrt(22 * rawToolArea + 0) * 9.2 + 0.
31touch.toolSize.calibration = area
32touch.toolSize.areaScale = 22
33touch.toolSize.areaBias = 0
34touch.toolSize.linearScale = 9.2
35touch.toolSize.linearBias = 0
36touch.toolSize.isSummed = 0
37
38# Pressure
39# Driver reports signal strength as pressure.
40#
41# A normal thumb touch typically registers about 100 signal strength
42# units although we don't expect these values to be accurate.
43touch.pressure.calibration = amplitude
44touch.pressure.source = default
45touch.pressure.scale = 0.01
46
47# Size
48touch.size.calibration = normalized
49
50# Orientation
51touch.orientation.calibration = none
52
53