Add Redmi/joyeuse to changeKeyLayout

Fixes random touches on Redmi Note 9 Pro `joyeuse` when fingerprint is pressed
This commit is contained in:
Nitan Alexandru Marcel 2021-02-09 12:36:12 +02:00 committed by GitHub
parent 7afda0d79f
commit e936f0b83a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ changeKeylayout() {
-e xiaomi/nitrogen -e xiaomi/sakura -e xiaomi/andromeda \ -e xiaomi/nitrogen -e xiaomi/sakura -e xiaomi/andromeda \
-e xiaomi/whyred -e xiaomi/tulip -e xiaomi/onc \ -e xiaomi/whyred -e xiaomi/tulip -e xiaomi/onc \
-e redmi/curtana -e redmi/picasso -e Redmi/lancelot \ -e redmi/curtana -e redmi/picasso -e Redmi/lancelot \
-e Redmi/galahad -e xiaomi/olive -e Redmi/angelica ; then -e Redmi/galahad -e xiaomi/olive -e Redmi/angelica -e Redmi/joyeuse ; then
if [ ! -f /mnt/phh/keylayout/uinput-goodix.kl ]; then if [ ! -f /mnt/phh/keylayout/uinput-goodix.kl ]; 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