Add keylayout
This commit is contained in:
parent
b3b2aa4b5b
commit
f5e2fc1326
@ -21,7 +21,8 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
|
||||
#
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
||||
|
||||
# Don't build super.img.
|
||||
|
||||
# Don't build super.img
|
||||
PRODUCT_BUILD_SUPER_PARTITION := false
|
||||
|
||||
PRODUCT_NAME := cat_s22
|
||||
@ -33,6 +34,9 @@ PRODUCT_CHARACTERISTICS := device
|
||||
|
||||
PRODUCT_PACKAGE_OVERLAYS += device/wephone/cat/overlay
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/wephone/duoqin/files/Vendor_0000_Product_0000_Version_0000.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/Vendor_0000_Product_0000_Version_0000.kl
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
BromiteSystemWebView \
|
||||
Conversations \
|
||||
|
52
cat/files/Vendor_0000_Product_0000_Version_0000.kl
Normal file
52
cat/files/Vendor_0000_Product_0000_Version_0000.kl
Normal file
@ -0,0 +1,52 @@
|
||||
key 2 1
|
||||
key 3 2
|
||||
key 4 3
|
||||
key 5 4
|
||||
key 6 5
|
||||
key 7 6
|
||||
key 8 7
|
||||
key 9 8
|
||||
key 10 9
|
||||
key 11 0
|
||||
|
||||
# DELETE
|
||||
key 14 DEL
|
||||
|
||||
#DPAD CENTER
|
||||
key 28 DPAD_CENTER
|
||||
|
||||
# DPAD UP
|
||||
key 103 DPAD_UP
|
||||
|
||||
# DPAD LEFT
|
||||
key 105 DPAD_LEFT
|
||||
|
||||
# DPAD RIGHT
|
||||
key 106 DPAD_RIGHT
|
||||
|
||||
# DPAD DOWN
|
||||
key 108 DPAD_DOWN
|
||||
|
||||
# VOLUME DOWN
|
||||
key 114 VOLUME_DOWN
|
||||
|
||||
# POWER
|
||||
key 116 POWER
|
||||
|
||||
# BACK
|
||||
key 158 BACK
|
||||
|
||||
# DIAL
|
||||
key 169 DIAL
|
||||
|
||||
# HOME
|
||||
key 172 HOME
|
||||
|
||||
# APP SWITCH
|
||||
key 580 APP_SWITCH
|
||||
|
||||
# STAR
|
||||
key 522 STAR
|
||||
|
||||
# POUND
|
||||
key 523 POUND
|
Loading…
x
Reference in New Issue
Block a user