diff options
| author | juloo | 2015-08-03 15:11:11 +0200 |
|---|---|---|
| committer | juloo | 2015-08-03 15:11:11 +0200 |
| commit | e9df9bc2991fab7632270f3c7fe1aa513a9f9251 (patch) | |
| tree | 826c16e425c6aa501640e26dfdb9e0d2e4556362 /srcs/juloo.keyboard2/Keyboard2.java | |
| parent | 7dd58458838d514a8a14f1f5d0c46d570a2113ab (diff) | |
| download | unexpected-keyboard-e9df9bc2991fab7632270f3c7fe1aa513a9f9251.tar.gz unexpected-keyboard-e9df9bc2991fab7632270f3c7fe1aa513a9f9251.zip | |
Repeat key on long press
Diffstat (limited to 'srcs/juloo.keyboard2/Keyboard2.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Keyboard2.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java index fd86ccc..d02b239 100644 --- a/srcs/juloo.keyboard2/Keyboard2.java +++ b/srcs/juloo.keyboard2/Keyboard2.java @@ -63,7 +63,7 @@ public class Keyboard2 extends InputMethodService getCurrentInputConnection().sendKeyEvent(event); getCurrentInputConnection().sendKeyEvent(KeyEvent.changeAction(event, KeyEvent.ACTION_UP)); } - else + else if (key.getChar(false) != KeyValue.CHAR_NONE) { sendKeyChar(key.getChar((flags & KeyValue.FLAG_SHIFT) != 0)); } |
