1
0
Fork 0

fixed holding the virtual keyboard keys in 123 mode typing the wrong number, when the 'upside down' settings is on

This commit is contained in:
sspanak 2024-02-17 14:18:21 +02:00 committed by Dimo Karaivanov
parent 68e47cc49f
commit ed9364d195

View file

@ -33,7 +33,7 @@ public class SoftNumberKey extends SoftKey {
}
preventRepeat();
int keyCode = Key.numberToCode(getNumber(getId()));
int keyCode = Key.numberToCode(getUpsideDownNumber(getId()));
tt9.onKeyLongPress(keyCode, new KeyEvent(KeyEvent.ACTION_DOWN, keyCode));
return true;
}