ginkgo: Import stock FP input configs
Change-Id: I1b07388f21370eef46a06e8e6bec1861ae4c4e5d
This commit is contained in:
10
device.mk
10
device.mk
@@ -25,6 +25,16 @@ PRODUCT_PACKAGES += \
|
|||||||
init.device.rc \
|
init.device.rc \
|
||||||
init.fingerprint.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
|
# Shipping API level
|
||||||
PRODUCT_SHIPPING_API_LEVEL := 28
|
PRODUCT_SHIPPING_API_LEVEL := 28
|
||||||
|
|
||||||
|
|||||||
15
idc/uinput-fpc.idc
Normal file
15
idc/uinput-fpc.idc
Normal 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
15
idc/uinput-goodix.idc
Normal 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
15
keylayout/uinput-fpc.kl
Normal 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
|
||||||
|
|
||||||
14
keylayout/uinput-goodix.kl
Normal file
14
keylayout/uinput-goodix.kl
Normal 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
|
||||||
Reference in New Issue
Block a user