Add input device configuration for Muskie/Walleye am: 4bb388480a

am: d6ec6325bc

Change-Id: Icefe8931c8a5839f1dc9b245d7cfa0bc40ac0fd0
This commit is contained in:
Michael Wright
2017-07-11 18:23:54 +00:00
committed by android-build-merger
2 changed files with 36 additions and 0 deletions

View File

@@ -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

32
synaptics_dsxv26.idc Normal file
View File

@@ -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