blob: f0fbe158a1aae6b34caa003aabbadb5183afd3ba [file] [log] [blame]
Zvikomborero VIncent Zvikaramba1e699192016-07-29 01:56:57 -04001# 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 Configuration File for the Atmel Maxtouch 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 configuration documentation for more details.
21#
22
23device.internal = 0
24
25# Basic Parameters
26touch.deviceType = pointer
27touch.orientationAware = 1
28
29touch.gestureMode = pointer
30
31# Touch Size
32touch.touchSize.calibration = pressure
33
34# Tool Size
35# Driver reports tool size as an area measurement.
36#
37# Based on empirical measurements, we estimate the size of the tool
38# using size = sqrt(22 * rawToolArea + 0) * 6 + 0.
39touch.toolSize.calibration = area
40touch.toolSize.areaScale = 22
41touch.toolSize.areaBias = 0
42touch.toolSize.linearScale = 6
43touch.toolSize.linearBias = 0
44touch.toolSize.isSummed = 0
45
46# Pressure
47# Driver reports signal strength as pressure.
48#
49# A normal index finger touch typically registers about 80 signal strength
50# units although we don't expect these values to be accurate.
51touch.pressure.calibration = amplitude
52touch.pressure.source = default
53touch.pressure.scale = 0.0125
54
55# Size
56touch.size.calibration = normalized
57
58# Orientation
59touch.orientation.calibration = vector