diff --git a/base.mk b/base.mk index 68ee465..a8b81e5 100644 --- a/base.mk +++ b/base.mk @@ -107,6 +107,7 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ device/phh/treble/files/samsung-gpio_keys.kl:system/phh/samsung-gpio_keys.kl \ device/phh/treble/files/samsung-sec_touchscreen.kl:system/phh/samsung-sec_touchscreen.kl \ + device/phh/treble/files/samsung-sec_touchkey.kl:system/phh/samsung-sec_touchkey.kl \ device/phh/treble/files/oneplus6-synaptics_s3320.kl:system/phh/oneplus6-synaptics_s3320.kl \ device/phh/treble/files/huawei-fingerprint.kl:system/phh/huawei/fingerprint.kl \ device/phh/treble/files/samsung-sec_e-pen.idc:system/usr/idc/sec_e-pen.idc \ diff --git a/files/samsung-sec_touchkey.kl b/files/samsung-sec_touchkey.kl new file mode 100644 index 0000000..ece64f0 --- /dev/null +++ b/files/samsung-sec_touchkey.kl @@ -0,0 +1,3 @@ +key 158 BACK +key 254 APP_SWITCH + diff --git a/rw-system.sh b/rw-system.sh index 7985755..e0e726a 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -80,6 +80,7 @@ changeKeylayout() { cp /system/phh/samsung-gpio_keys.kl /mnt/phh/keylayout/gpio_keys.kl cp /system/phh/samsung-sec_touchscreen.kl /mnt/phh/keylayout/sec_touchscreen.kl + cp /system/phh/samsung-sec_touchkey.kl /mnt/phh/keylayout/sec_touchkey.kl chmod 0644 /mnt/phh/keylayout/gpio_keys.kl /mnt/phh/keylayout/sec_touchscreen.kl fi