summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-08-11 18:22:16 -0700
committerJeff Brown <jeffbrown@google.com>2011-08-11 18:22:16 -0700
commitbe91eb28b217062011a62704cfb13046882b2e45 (patch)
tree0a53eedfba56cc120c7c6207ee806ef050fffcb4
parent677ae1939c62d283d1afab9b461ed03a8334a5ea (diff)
downloaddevice_samsung_tuna-be91eb28b217062011a62704cfb13046882b2e45.zip
device_samsung_tuna-be91eb28b217062011a62704cfb13046882b2e45.tar.gz
device_samsung_tuna-be91eb28b217062011a62704cfb13046882b2e45.tar.bz2
Add touch screen configuration.
Change-Id: Ied45401d021feb95dd6ac7daf79421722a3f3ab3
-rw-r--r--Melfas_MMSxxx_Touchscreen.idc (renamed from Atmel_maXTouch_Touchscreen.idc)24
-rw-r--r--device.mk2
2 files changed, 22 insertions, 4 deletions
diff --git a/Atmel_maXTouch_Touchscreen.idc b/Melfas_MMSxxx_Touchscreen.idc
index c3d1bea..8117e45 100644
--- a/Atmel_maXTouch_Touchscreen.idc
+++ b/Melfas_MMSxxx_Touchscreen.idc
@@ -1,4 +1,4 @@
-# Copyright (C) 2010 The Android Open Source Project
+# 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.
@@ -13,9 +13,27 @@
# limitations under the License.
#
-# Input Device Calibration File for the Tuna pre-lunchbox touch screen.
-# This touch screen will not be present in the final hardware
+# Input Device Calibration File for the Tuna 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
diff --git a/device.mk b/device.mk
index 8c598db..0d89e45 100644
--- a/device.mk
+++ b/device.mk
@@ -84,7 +84,7 @@ PRODUCT_PACKAGES += \
# Input device calibration files
PRODUCT_COPY_FILES += \
- device/samsung/tuna/Atmel_maXTouch_Touchscreen.idc:system/usr/idc/Atmel_maXTouch_Touchscreen.idc
+ device/samsung/tuna/Melfas_MMSxxx_Touchscreen.idc:system/usr/idc/Melfas_MMSxxx_Touchscreen.idc
# These are the hardware-specific features
PRODUCT_COPY_FILES += \