aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2011-11-24 17:01:29 +0530
committerAmit Pundir <amit.pundir@linaro.org>2011-11-24 17:01:29 +0530
commit24f84773de761a8ddac83c37ffd6ff4cbeabd878 (patch)
tree6f33f613f8f2e4bf94722f0bdbacd36c3cc38459
parent992d6d0a61b5515ebeeaf8deeca8b91fff5d10d3 (diff)
ICS Origen added touchscreen configuration file
Change-Id: I2782f24ec967887a1bcaba335425b2c924ca099c Author: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--device.mk3
-rw-r--r--unidisplay_ts.idc39
2 files changed, 41 insertions, 1 deletions
diff --git a/device.mk b/device.mk
index cee95ea..6af58ee 100644
--- a/device.mk
+++ b/device.mk
@@ -21,7 +21,8 @@ PRODUCT_COPY_FILES += \
device/linaro/origen/init.origen.rc:root/init.origen.rc \
device/linaro/origen/ueventd.origen.rc:root/ueventd.origen.rc \
device/linaro/origen/initlogo.rle:root/initlogo.rle \
- device/linaro/origen/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf
+ device/linaro/origen/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
+ device/linaro/origen/unidisplay_ts.idc:system/usr/idc/unidisplay_ts.idc
PRODUCT_PROPERTY_OVERRIDES := \
hwui.render_dirty_regions=false
diff --git a/unidisplay_ts.idc b/unidisplay_ts.idc
new file mode 100644
index 0000000..ebd5663
--- /dev/null
+++ b/unidisplay_ts.idc
@@ -0,0 +1,39 @@
+# Copyright (C) 2011 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 Calibration File for the Origen touch screen.
+#
+
+# Basic Parameters
+touch.deviceType = touchScreen
+touch.orientationAware = 1
+
+# Size
+touch.size.calibration = diameter
+touch.size.scale = 10
+touch.size.bias = 0
+touch.size.isSummed = 0
+
+# Pressure
+# Driver reports signal strength as pressure.
+#
+# A normal thumb touch typically registers about 200 signal strength
+# units although we don't expect these values to be accurate.
+touch.pressure.calibration = amplitude
+touch.pressure.scale = 0.005
+
+# Orientation
+touch.orientation.calibration = none
+