diff options
| author | juloo | 2015-08-08 15:26:23 +0200 |
|---|---|---|
| committer | juloo | 2015-08-08 15:26:23 +0200 |
| commit | c29a2a9c9cd08805f003005c5d884b6cf051505b (patch) | |
| tree | 313ca0959861b0ad0be77e9d19d7e934434f249a /srcs/juloo.keyboard2/Keyboard2.java | |
| parent | f22452488de58684466a1a73fe4869009f1d38c7 (diff) | |
| download | unexpected-keyboard-c29a2a9c9cd08805f003005c5d884b6cf051505b.tar.gz unexpected-keyboard-c29a2a9c9cd08805f003005c5d884b6cf051505b.zip | |
Todo settings
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); - } } |
