Merge pull request #209 from eremitein/redmi9

Redmi9 need uinput trick
This commit is contained in:
Pierre-Hugues HUSSON 2020-10-07 20:55:13 +02:00 committed by GitHub
commit 3705999a82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ changeKeylayout() {
-e xiaomi/platina -e iaomi/perseus -e xiaomi/ysl -e Redmi/begonia\ -e xiaomi/platina -e iaomi/perseus -e xiaomi/ysl -e Redmi/begonia\
-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; then -e redmi/curtana -e redmi/picasso -e redmi/galahad; 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