fix dt2w for Lenovo Z5s

This commit is contained in:
mrgreywater 2020-03-13 16:23:57 +01:00
parent 00e24bf520
commit 9e58131492
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ changeKeylayout() {
if getprop ro.vendor.build.fingerprint |grep -iq -E -e '^Lenovo/' && [ -f /sys/devices/virtual/touch/tp_dev/gesture_on ];then
cp /system/phh/lenovo-synaptics_dsx.kl /mnt/phh/keylayout/synaptics_dsx.kl
chmod 0644 /mnt/phh/keylayout/synaptics_dsx.kl
cp /system/phh/lenovo-synaptics_dsx.kl /mnt/phh/keylayout/fts_ts.kl
chmod 0644 /mnt/phh/keylayout/fts_ts.kl
changed=true
fi