sm8450-common: Import fingerprint sensor keylayouts from marble V14.0.9.0.TMREUXM
Change-Id: I70aaedf6225ac556fee608aa76402c5076cf408e Signed-off-by: Jens Reidel <adrian@travitia.xyz>
This commit is contained in:
@@ -263,6 +263,11 @@ PRODUCT_COPY_FILES += \
|
|||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libjson
|
libjson
|
||||||
|
|
||||||
|
# Keylayout
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/keylayout/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl \
|
||||||
|
$(LOCAL_PATH)/keylayout/uinput-goodix.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-goodix.kl
|
||||||
|
|
||||||
# Keymaster
|
# Keymaster
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.keymaster@4.1.vendor \
|
android.hardware.keymaster@4.1.vendor \
|
||||||
|
28
keylayout/uinput-fpc.kl
Normal file
28
keylayout/uinput-fpc.kl
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
#
|
||||||
|
# FPC1020 Touch sensor driver
|
||||||
|
#
|
||||||
|
# Copyright (c) 2013,2014 Fingerprint Cards AB <tech@fingerprints.com>
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License Version 2
|
||||||
|
# as published by the Free Software Foundation.
|
||||||
|
#
|
||||||
|
|
||||||
|
#key 304 DPAD_CENTER VIRTUAL
|
||||||
|
#key 102 HOME VIRTUAL
|
||||||
|
#key 108 SYSTEM_NAVIGATION_DOWN
|
||||||
|
#key 103 SYSTEM_NAVIGATION_DOWN
|
||||||
|
# Swipe Up
|
||||||
|
#key 103 DPAD_UP VIRTUAL
|
||||||
|
|
||||||
|
# Swipe Down
|
||||||
|
#key 108 DPAD_DOWN VIRTUAL
|
||||||
|
|
||||||
|
# Single Tap
|
||||||
|
key 105 DPAD_CENTER VIRTUAL
|
||||||
|
|
||||||
|
# Double Tap
|
||||||
|
key 106 BUTTON_C VIRTUAL
|
||||||
|
|
||||||
|
# Keymap between kernel and framework.
|
||||||
|
# Refer to input-event-codes.h(kernel) and KeyEvent.java(framework) for more details.
|
19
keylayout/uinput-goodix.kl
Normal file
19
keylayout/uinput-goodix.kl
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
#
|
||||||
|
# FPC1020 Touch sensor driver
|
||||||
|
#
|
||||||
|
# Copyright (c) 2013,2014 Fingerprint Cards AB <tech@fingerprints.com>
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License Version 2
|
||||||
|
# as published by the Free Software Foundation.
|
||||||
|
#
|
||||||
|
|
||||||
|
#single click
|
||||||
|
key 353 DPAD_CENTER VIRTUAL
|
||||||
|
#double click
|
||||||
|
key 306 BUTTON_C VIRTUAL
|
||||||
|
# HOME --> DPAD_CENTER
|
||||||
|
key 102 DPAD_CENTER VIRTUAL
|
||||||
|
#key 105 DPAD_LEFT VIRTUAL
|
||||||
|
#key 106 DPAD_RIGHT VIRTUAL
|
||||||
|
|
Reference in New Issue
Block a user