mata: Add Essential jack keylayout

Change-Id: Idcbab8fe85b18d48bc9cafdb21b90a57df8f4024
This commit is contained in:
Ethan Chen
2020-04-11 22:11:03 -07:00
parent dbf0018643
commit be02ea460d
2 changed files with 9 additions and 0 deletions

View File

@ -153,6 +153,7 @@ PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1
PRODUCT_COPY_FILES += \
device/essential/mata/keylayout/Vendor_2e17_Product_a001.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_2e17_Product_a001.kl \
device/essential/mata/keylayout/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl
# Gatekeeper HAL

View File

@ -0,0 +1,8 @@
# Function A
key 164 MEDIA_PLAY_PAUSE
# Function B
key 115 VOLUME_UP
# Function C
key 114 VOLUME_DOWN
# Function D
key 582 VOICE_ASSIST