diff --git a/device-common.mk b/device-common.mk index 02373eb..0402031 100644 --- a/device-common.mk +++ b/device-common.mk @@ -46,6 +46,10 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.$(PRODUCT_HARDWARE).usb.rc \ $(LOCAL_PATH)/init.insmod.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg +# Input device files +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/synaptics_dsxv26.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/synaptics_dsxv26.idc + include device/google/wahoo/device.mk # Kernel modules diff --git a/synaptics_dsxv26.idc b/synaptics_dsxv26.idc new file mode 100644 index 0000000..4fd331a --- /dev/null +++ b/synaptics_dsxv26.idc @@ -0,0 +1,32 @@ +# Copyright 2017 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 muskie touch screen. +# + +device.internal = 1 + +touch.deviceType = touchScreen +touch.orientationAware = 1 + +touch.size.calibration = diameter +touch.size.scale = 42.086933 +touch.size.bias = -21.905636 +touch.size.isSummed = 0 + +touch.pressure.calibration = amplitude +touch.pressure.scale = 0.0125 + +touch.orientation.calibration = none