do not update shift state automatically after pressing Shift

This commit is contained in:
tibbi 2022-01-18 09:07:35 +01:00
parent 21de46fc1d
commit 945c82402a
2 changed files with 5 additions and 2 deletions

View File

@ -42,5 +42,5 @@ android {
} }
dependencies { dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:06b9306331' implementation 'com.github.SimpleMobileTools:Simple-Commons:db3561b188'
} }

View File

@ -151,8 +151,11 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL
} }
} }
} }
if (primaryCode != MyKeyboard.KEYCODE_SHIFT) {
updateShiftKeyState() updateShiftKeyState()
} }
}
override fun onText(text: CharSequence?) {} override fun onText(text: CharSequence?) {}