Merge pull request #229 from nitanmarcel/patch-1

Add Redmi/joyeuse to changeKeyLayout
This commit is contained in:
Pierre-Hugues HUSSON 2021-02-11 11:15:46 +01:00 committed by GitHub
commit 9868877f23
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