From be91eb28b217062011a62704cfb13046882b2e45 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Thu, 11 Aug 2011 18:22:16 -0700 Subject: Add touch screen configuration. Change-Id: Ied45401d021feb95dd6ac7daf79421722a3f3ab3 --- Atmel_maXTouch_Touchscreen.idc | 21 --------------------- Melfas_MMSxxx_Touchscreen.idc | 39 +++++++++++++++++++++++++++++++++++++++ device.mk | 2 +- 3 files changed, 40 insertions(+), 22 deletions(-) delete mode 100644 Atmel_maXTouch_Touchscreen.idc create mode 100644 Melfas_MMSxxx_Touchscreen.idc diff --git a/Atmel_maXTouch_Touchscreen.idc b/Atmel_maXTouch_Touchscreen.idc deleted file mode 100644 index c3d1bea..0000000 --- a/Atmel_maXTouch_Touchscreen.idc +++ /dev/null @@ -1,21 +0,0 @@ -# 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 Calibration File for the Tuna pre-lunchbox touch screen. -# This touch screen will not be present in the final hardware - -# Basic Parameters -touch.deviceType = touchScreen - diff --git a/Melfas_MMSxxx_Touchscreen.idc b/Melfas_MMSxxx_Touchscreen.idc new file mode 100644 index 0000000..8117e45 --- /dev/null +++ b/Melfas_MMSxxx_Touchscreen.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 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 += \ -- cgit v1.1