Zvikomborero VIncent Zvikaramba | 1e69919 | 2016-07-29 01:56:57 -0400 | [diff] [blame] | 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 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 | device.internal = 0 |
| 24 | |
| 25 | # Basic Parameters |
| 26 | touch.deviceType = pointer |
| 27 | touch.orientationAware = 1 |
| 28 | |
| 29 | touch.gestureMode = pointer |
| 30 | |
| 31 | # Touch Size |
| 32 | touch.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. |
| 39 | touch.toolSize.calibration = area |
| 40 | touch.toolSize.areaScale = 22 |
| 41 | touch.toolSize.areaBias = 0 |
| 42 | touch.toolSize.linearScale = 6 |
| 43 | touch.toolSize.linearBias = 0 |
| 44 | touch.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. |
| 51 | touch.pressure.calibration = amplitude |
| 52 | touch.pressure.source = default |
| 53 | touch.pressure.scale = 0.0125 |
| 54 | |
| 55 | # Size |
| 56 | touch.size.calibration = normalized |
| 57 | |
| 58 | # Orientation |
| 59 | touch.orientation.calibration = vector |