1 # Copyright (C) 2012 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 23 # Basic Parameters 24 touch.deviceType = touchScreen 25 touch.orientationAware = 1 26 27 # Touch Size 28 touch.touchSize.calibration = pressure 29 30 # Tool Size 31 # Driver reports tool size as an area measurement. 32 # 33 # Based on empirical measurements, we estimate the size of the tool 34 # using size = sqrt(22 * rawToolArea + 0) * 6 + 0. 35 touch.toolSize.calibration = area 36 touch.toolSize.areaScale = 22 37 touch.toolSize.areaBias = 0 38 touch.toolSize.linearScale = 6 39 touch.toolSize.linearBias = 0 40 touch.toolSize.isSummed = 0 41 42 # Pressure 43 # Driver reports signal strength as pressure. 44 # 45 # A normal index finger touch typically registers about 80 signal strength 46 # units although we don't expect these values to be accurate. 47 touch.pressure.calibration = amplitude 48 touch.pressure.source = default 49 touch.pressure.scale = 0.0125 50 51 # Size 52 touch.size.calibration = normalized 53 54 # Orientation 55 touch.orientation.calibration = vector 56