do not allow toggline permanent caps with a key inbetween 2 shifts
This commit is contained in:
parent
9513e11e0f
commit
71edc078de
|
@ -88,6 +88,10 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (code != MyKeyboard.KEYCODE_SHIFT) {
|
||||||
|
lastShiftPressTS = 0
|
||||||
|
}
|
||||||
|
|
||||||
when (code) {
|
when (code) {
|
||||||
MyKeyboard.KEYCODE_DELETE -> {
|
MyKeyboard.KEYCODE_DELETE -> {
|
||||||
if (keyboard!!.mShiftState == SHIFT_ON_ONE_CHAR) {
|
if (keyboard!!.mShiftState == SHIFT_ON_ONE_CHAR) {
|
||||||
|
|
Loading…
Reference in New Issue