mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-01-27 15:51:28 +00:00
Add input device configuration for Muskie/Walleye
This also provides tuning for touch size information. Test: flash and look at touch size with pointer location enabled Bug: 62871286 Change-Id: Ia6f9f0f050517701f8085987ff9fadf27e8904d3
This commit is contained in:
@@ -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.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
|
$(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
|
include device/google/wahoo/device.mk
|
||||||
|
|
||||||
# Kernel modules
|
# Kernel modules
|
||||||
|
|||||||
32
synaptics_dsxv26.idc
Normal file
32
synaptics_dsxv26.idc
Normal 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
|
||||||
Reference in New Issue
Block a user