land:Blacklist FP event

After screen unlocked,blacklist FP event to avoid some misbehavior.

Signed-off-by: IsaacChen <tingyi364@gmail.com>
This commit is contained in:
IsaacChen 2017-08-14 09:51:07 +02:00 committed by Prateek Chaubey
parent 07e394fccf
commit 4512593e0c
5 changed files with 66 additions and 1 deletions

15
idc/gf3208.idc Normal file
View file

@ -0,0 +1,15 @@
#
# Goodix Fingerprint 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 = gf3208
keyboard.builtIn = 1
keyboard.orientationAware = 1

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

14
keylayout/gf3208.kl Normal file
View file

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

14
keylayout/uinput-fpc.kl Normal file
View file

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

View file

@ -1,5 +1,12 @@
# Keylayouts # Keylayouts
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/keylayout/ft5336_ts.kl:system/usr/keylayout/ft5336_ts.kl \ $(DEVICE_PATH)/keylayout/ft5336_ts.kl:system/usr/keylayout/ft5336_ts.kl \
$(DEVICE_PATH)/keylayout/gf3208.kl:system/usr/keylayout/gf3208.kl \
$(DEVICE_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ $(DEVICE_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
$(DEVICE_PATH)/keylayout/msm8952-snd-card-sku1_Button_Jack.kl:system/usr/keylayout/msm8952-snd-card-sku1_Button_Jack.kl $(DEVICE_PATH)/keylayout/msm8952-snd-card-sku1_Button_Jack.kl:system/usr/keylayout/msm8952-snd-card-sku1_Button_Jack.kl \
$(DEVICE_PATH)/keylayout/uinput-fpc.kl:system/usr/keylayout/uinput-fpc.kl
# IDC
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/idc/gf3208.idc:system/usr/idc/gf3208.idc \
$(DEVICE_PATH)/idc/uinput-fpc.idc:system/usr/idc/uinput-fpc.idc