This commit is contained in:
2024-11-26 02:17:09 +01:00
parent 6076c69f3f
commit 3a40699cc9
@@ -41,8 +41,6 @@ import eur.cfpifpsi.titanboard.views.InputView;
// TODO: Emojis with popup window
// TODO: Composing with diacritics, polytonic Greek as well
// TODO: Fix up the tweaks popup so it matches in style other UI elements
// TODO: Simplify meta key handling. Handling all keys separately is unneeded. This isn't an
// universal program to handle ALL physical keyboards, just the QWERTY-esque ones in pkb phones.
public class TitanboardIME extends InputMethodService {
public MetaKeyManager mMetaKeyManager;
@@ -99,7 +97,7 @@ public class TitanboardIME extends InputMethodService {
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
// TODO: make sure to return false if it's a key we don't really know, so that media keys
// etc. on some keyboards are handled correctly
// etc. on some keyboards are handled correctly
if (mMetaKeyManager.updateMetaStateDown(keyCode)) {
mInputView.updateStateText();