summaryrefslogtreecommitdiff
path: root/st1232-touchscreen.idc
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-06-15 18:22:18 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-06-15 23:57:42 +0200
commit5e4fc6d212bac1f1825b5ecc31073eff4bbcbf9b (patch)
tree5b762b7d0afe99a9d2e0a8bebc2813e9bd2193a4 /st1232-touchscreen.idc
parent1e0261f522a891ef607c249aa05723ab6a088a08 (diff)
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 <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'st1232-touchscreen.idc')
-rw-r--r--st1232-touchscreen.idc33
1 files changed, 33 insertions, 0 deletions
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