We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c1d107 commit 8fb150cCopy full SHA for 8fb150c
1 file changed
app/src/main/java/io/github/yawnoc/strokeinput/StrokeInputService.java
@@ -23,6 +23,7 @@ public class StrokeInputService
23
implements InputContainer.OnInputListener
24
{
25
private static final String EMPTY_STRING = "";
26
+ private static final String SPACE = " ";
27
private static final String NEWLINE = "\n";
28
29
@Override
@@ -61,6 +62,10 @@ public void onKey(String valueText) {
61
62
}
63
break;
64
65
+ case "SPACE":
66
+ inputConnection.commitText(SPACE, 1);
67
+ break;
68
+
69
case "ENTER":
70
EditorInfo editorInfo = getCurrentInputEditorInfo();
71
int editorActionBits = editorInfo.imeOptions;
0 commit comments