Merge pull request #108 from cheah/disable-fp-button-whyred

Disable fingerprint button on whyred
This commit is contained in:
Pierre-Hugues HUSSON 2019-05-06 15:58:04 +02:00 committed by GitHub
commit 46b9a683ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,8 @@ changeKeylayout() {
-e xiaomi/polaris -e xiaomi/sirius -e xiaomi/dipper \ -e xiaomi/polaris -e xiaomi/sirius -e xiaomi/dipper \
-e xiaomi/wayne -e xiaomi/jasmine -e xiaomi/jasmine_sprout \ -e xiaomi/wayne -e xiaomi/jasmine -e xiaomi/jasmine_sprout \
-e xiaomi/platina -e iaomi/perseus -e xiaomi/ysl \ -e xiaomi/platina -e iaomi/perseus -e xiaomi/ysl \
-e xiaomi/nitrogen -e xiaomi/daisy -e xiaomi/sakura; then -e xiaomi/nitrogen -e xiaomi/daisy -e xiaomi/sakura \
-e xiaomi/whyred; then
cp /system/phh/empty /mnt/phh/keylayout/uinput-goodix.kl cp /system/phh/empty /mnt/phh/keylayout/uinput-goodix.kl
chmod 0644 /mnt/phh/keylayout/uinput-goodix.kl chmod 0644 /mnt/phh/keylayout/uinput-goodix.kl
cp /system/phh/empty /mnt/phh/keylayout/uinput-fpc.kl cp /system/phh/empty /mnt/phh/keylayout/uinput-fpc.kl