From 5e4fc6d212bac1f1825b5ecc31073eff4bbcbf9b Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 15 Jun 2012 18:22:18 +0200 Subject: Add ST1232 touchscreen support The touchscreen was detected and handled as a pointer device by default. Add a device configuration file to use it as a touchscreen. Signed-off-by: Laurent Pinchart --- st1232-touchscreen.idc | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 st1232-touchscreen.idc (limited to 'st1232-touchscreen.idc') diff --git a/st1232-touchscreen.idc b/st1232-touchscreen.idc new file mode 100644 index 0000000..e1db0c9 --- /dev/null +++ b/st1232-touchscreen.idc @@ -0,0 +1,33 @@ +# 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 Configuration File for the Ampire touch screen. +# + +# Basic Parameters +touch.deviceType = touchScreen +touch.orientationAware = 0 + +# Size +# Based on empirical measurements, we estimate the size of the contact +# using size = sqrt(area) * 28 + 0. +touch.size.calibration = area +touch.size.scale = 28 +touch.size.bias = 0 +touch.size.isSummed = 0 + +# Pressure and orientation are not supported +touch.pressure.calibration = none +touch.orientation.calibration = none -- cgit v1.2.3