mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-27 13:09:40 +00:00
Add fingerprint navigation support to muskie
Test: manual; enable navigation and ensure direction is correct and that keys no longer navigate in launcher. Fixes: 35758627 Change-Id: I0df5a060aacaed75db84d21c9378f6ed3e180c1b
This commit is contained in:
committed by
Nick Desaulniers
parent
8ce93aa9d4
commit
8e3373b6ed
@@ -45,6 +45,8 @@ PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/init.hardware.usb.rc:root/init.$(PRODUCT_HARDWARE).usb.rc \
|
||||
$(LOCAL_PATH)/ueventd.hardware.rc:root/ueventd.$(PRODUCT_HARDWARE).rc \
|
||||
$(LOCAL_PATH)/init.radio.sh:system/bin/init.radio.sh \
|
||||
$(LOCAL_PATH)/uinput-fpc.kl:system/usr/keylayout/uinput-fpc.kl \
|
||||
$(LOCAL_PATH)/uinput-fpc.idc:system/usr/idc/uinput-fpc.idc \
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
||||
@@ -51,4 +51,7 @@
|
||||
<!-- Type of the double tap sensor. Empty if double tap is not supported. -->
|
||||
<string name="config_dozeDoubleTapSensorType" translatable="false">com.google.sensor.double_touch</string>
|
||||
|
||||
<!-- Enable system navigation keys. -->
|
||||
<bool name="config_supportSystemNavigationKeys">true</bool>
|
||||
|
||||
</resources>
|
||||
|
||||
20
uinput-fpc.idc
Normal file
20
uinput-fpc.idc
Normal file
@@ -0,0 +1,20 @@
|
||||
# Copyright (C) 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.
|
||||
|
||||
#
|
||||
# Fingerprint navigation configuration file
|
||||
#
|
||||
keyboard.orientationAware = 1
|
||||
keyboard.builtIn = 1
|
||||
|
||||
4
uinput-fpc.kl
Normal file
4
uinput-fpc.kl
Normal file
@@ -0,0 +1,4 @@
|
||||
key 105 SYSTEM_NAVIGATION_LEFT
|
||||
key 108 SYSTEM_NAVIGATION_DOWN
|
||||
key 103 SYSTEM_NAVIGATION_UP
|
||||
key 106 SYSTEM_NAVIGATION_RIGHT
|
||||
Reference in New Issue
Block a user