2012-05-01 19:32:50 +00:00
|
|
|
# Copyright (C) 2011 The Android Open Source Project
|
2011-11-23 23:54:26 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
#
|
2012-05-01 19:32:50 +00:00
|
|
|
# Input Device Calibration File for the htcleo touch screen.
|
2011-11-23 23:54:26 +00:00
|
|
|
#
|
|
|
|
|
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
|
2012-05-01 19:32:50 +00:00
|
|
|
touch.size.calibration = default
|
2011-11-24 18:23:00 +00:00
|
|
|
touch.size.scale = 10
|
2012-05-01 19:32:50 +00:00
|
|
|
touch.size.bias = 160
|
|
|
|
touch.size.isSummed = 1
|
2011-11-23 23:54:26 +00:00
|
|
|
|
2012-05-16 09:48:04 +00:00
|
|
|
# Touch Size
|
|
|
|
touch.touchSize.calibration = pressure
|
|
|
|
|
|
|
|
# Tool Size
|
|
|
|
# Driver reports tool size as a linear width measurement summed over
|
|
|
|
# all contact points.
|
|
|
|
#
|
|
|
|
# Raw width field measures approx. 1 unit per millimeter
|
|
|
|
# of tool size on the surface where a raw width of 1 corresponds
|
|
|
|
# to about 17mm of physical size. Given that the display resolution
|
|
|
|
# is 10px per mm we obtain a scale factor of 10 pixels / unit and
|
|
|
|
# a bias of 160 pixels. In addition, the raw width represents a
|
|
|
|
# sum of all contact area so we note this fact in the calibration.
|
|
|
|
touch.toolSize.calibration = linear
|
|
|
|
touch.toolSize.linearScale = 10
|
|
|
|
touch.toolSize.linearBias = 160
|
|
|
|
touch.toolSize.isSummed = 1
|
|
|
|
|
|
|
|
touch.filterTouchEvents = 1
|
|
|
|
|
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
|
2012-05-16 09:48:04 +00:00
|
|
|
touch.pressure.source = default
|
2012-05-01 19:32:50 +00:00
|
|
|
touch.pressure.scale = 0.01
|
2011-11-23 23:54:26 +00:00
|
|
|
|
|
|
|
# Orientation
|
2012-05-16 09:48:04 +00:00
|
|
|
touch.orientation.calibration = none
|