ginkgo: Import stock FP input configs

Change-Id: I1b07388f21370eef46a06e8e6bec1861ae4c4e5d
This commit is contained in:
Erfan Abdi
2020-07-27 03:50:21 +04:30
committed by Skyblueborb
parent 999e9d5db0
commit 8cac0d28c5
5 changed files with 69 additions and 0 deletions

View File

@@ -25,6 +25,16 @@ PRODUCT_PACKAGES += \
init.device.rc \
init.fingerprint.rc
# Input
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/idc/uinput-fpc.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-fpc.idc \
$(DEVICE_PATH)/idc/uinput-goodix.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-goodix.idc
# Keylayouts
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/keylayout/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl \
$(DEVICE_PATH)/keylayout/uinput-goodix.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-goodix.kl
# Shipping API level
PRODUCT_SHIPPING_API_LEVEL := 28

15
idc/uinput-fpc.idc Normal file
View File

@@ -0,0 +1,15 @@
#
# 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.
#
device.internal = 1
keyboard.layout = uinput-fpc
keyboard.builtIn = 1
keyboard.orientationAware = 1

15
idc/uinput-goodix.idc Normal file
View File

@@ -0,0 +1,15 @@
#
# 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.
#
device.internal = 1
keyboard.layout = uinput-gf
keyboard.builtIn = 1
keyboard.orientationAware = 1

15
keylayout/uinput-fpc.kl Normal file
View File

@@ -0,0 +1,15 @@
#
# 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 96 DPAD_CENTER
#key 102 HOME
#key 105 DPAD_LEFT
#key 106 DPAD_RIGHT

View File

@@ -0,0 +1,14 @@
#
# Goodix fingerprint 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 96 DPAD_CENTER
#key 96 DPAD_CENTER
#key 102 HOME
#key 105 DPAD_LEFT
#key 106 DPAD_RIGHT