pstar: Enable fingerprint navigation
Change-Id: Ic007af32c8e54caa278d4f973b5fc7a63e5f90aa
This commit is contained in:
parent
5cf6ccd42a
commit
340949a385
10
configs/idc/uinput-fpc.idc
Normal file
10
configs/idc/uinput-fpc.idc
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# FPC1020 Touch sensor driver
|
||||
#
|
||||
|
||||
device.internal = 1
|
||||
|
||||
keyboard.layout = uinput-fpc
|
||||
keyboard.builtIn = 1
|
||||
keyboard.orientationAware = 1
|
||||
|
9
configs/idc/uinput_nav.idc
Normal file
9
configs/idc/uinput_nav.idc
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# GF3626_Z9 gesture sensor driver
|
||||
#
|
||||
device.internal = 1
|
||||
|
||||
keyboard.layout = uinput_nav
|
||||
keyboard.builtIn = 1
|
||||
keyboard.orientationAware = 1
|
||||
|
9
configs/keylayout/uinput-fpc.kl
Normal file
9
configs/keylayout/uinput-fpc.kl
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# FPC1020 Touch sensor driver
|
||||
#
|
||||
#
|
||||
|
||||
# fpc1020 "finger present"
|
||||
key 618 SYSTEM_NAVIGATION_UP
|
||||
key 619 SYSTEM_NAVIGATION_DOWN
|
||||
key 622 SYSTEM_NAVIGATION_LEFT
|
9
configs/keylayout/uinput_nav.kl
Normal file
9
configs/keylayout/uinput_nav.kl
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# GF3626_Z9 gesture sensor driver
|
||||
#
|
||||
|
||||
key 618 SYSTEM_NAVIGATION_UP
|
||||
key 619 SYSTEM_NAVIGATION_DOWN
|
||||
# double tap
|
||||
key 622 SYSTEM_NAVIGATION_LEFT
|
||||
|
@ -43,6 +43,13 @@ PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/audio/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
|
||||
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
|
||||
|
||||
# Fingerprint
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/idc/uinput-fpc.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-fpc.idc \
|
||||
$(LOCAL_PATH)/configs/idc/uinput_nav.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput_nav.idc \
|
||||
$(LOCAL_PATH)/configs/keylayout/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl \
|
||||
$(LOCAL_PATH)/configs/keylayout/uinput_nav.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput_nav.kl
|
||||
|
||||
# Init
|
||||
$(foreach f,$(wildcard $(COMMON_PATH)/rootdir/etc/init/hw/*.rc),\
|
||||
$(eval PRODUCT_COPY_FILES += $(f):$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/$(notdir $f)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user