diff options
Diffstat (limited to 'srcs/juloo.keyboard2/Keyboard2.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Keyboard2.java | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java index 8059b00..73cdee7 100644 --- a/srcs/juloo.keyboard2/Keyboard2.java +++ b/srcs/juloo.keyboard2/Keyboard2.java @@ -7,9 +7,7 @@ import android.view.View; public class Keyboard2 extends InputMethodService { - public static final String TAG = "Keyboard_2.0"; - - private KeyboardData _keyboardData; + private KeyboardData _keyboardData; // TODO: settings private Keyboard2View _inputView = null; @Override @@ -38,16 +36,6 @@ public class Keyboard2 extends InputMethodService { if (getCurrentInputConnection() == null) return ; - // DEBUG - String k = "Key "; - if ((flags & KeyValue.FLAG_CTRL) != 0) - k += "Ctrl-"; - if ((flags & KeyValue.FLAG_ALT) != 0) - k += "Alt-"; - if ((flags & KeyValue.FLAG_SHIFT) != 0) - k += "Shift-"; - log(k + key.getName()); - // - if (key.getEventCode() == KeyValue.EVENT_CONFIG) { // TODO improve this shit @@ -111,9 +99,4 @@ public class Keyboard2 extends InputMethodService getCurrentInputConnection().sendKeyEvent(event); getCurrentInputConnection().sendKeyEvent(KeyEvent.changeAction(event, KeyEvent.ACTION_UP)); } - - public static void log(String str) - { - Log.d(TAG, str); - } } |
