2011-11-23 23:54:26 +00:00
|
|
|
# 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 Leo touch screen.
|
|
|
|
#
|
|
|
|
|
2011-11-24 18:23:00 +00:00
|
|
|
# Basic Parameters
|
2011-11-23 23:54:26 +00:00
|
|
|
touch.deviceType = touchScreen
|
|
|
|
touch.orientationAware = 1
|
|
|
|
|
2011-11-24 18:23:00 +00:00
|
|
|
# Size
|
|
|
|
touch.size.calibration = diameter
|
|
|
|
touch.size.scale = 10
|
|
|
|
touch.size.bias = 0
|
|
|
|
touch.size.isSummed = 0
|
2011-11-23 23:54:26 +00:00
|
|
|
|
|
|
|
# Pressure
|
|
|
|
# Driver reports signal strength as pressure.
|
|
|
|
#
|
|
|
|
# A normal thumb touch while touching the back of the device
|
|
|
|
# typically registers about 100 signal strength units although
|
|
|
|
# this value is highly variable and is sensitive to contact area,
|
|
|
|
# manner of contact and environmental conditions. We set the
|
|
|
|
# scale so that a normal touch with good signal strength will be
|
|
|
|
# reported as having a pressure somewhere in the vicinity of 1.0,
|
|
|
|
# a featherlight touch will be below 1.0 and a heavy or large touch
|
|
|
|
# will be above 1.0. We don't expect these values to be accurate.
|
|
|
|
touch.pressure.calibration = amplitude
|
2011-11-24 18:23:00 +00:00
|
|
|
touch.pressure.scale = 0.005
|
2011-11-23 23:54:26 +00:00
|
|
|
|
|
|
|
# Orientation
|
|
|
|
touch.orientation.calibration = none
|
|
|
|
|